Category : qml

I have a Windows QML application with an embedded Scene3d object. Whenever the Scene3d object is visible, the GPU usage climbs up to around 35% on a laptop with nothing on the scene. I have set the renderPolicy to RenderSettings.OnDemand which shows a reduced framerate in the 3d diagnostics popup. However… If I set the ..

Read more

void xyz::createqml(QQmlApplicationEngine* qmlEngine) { qmlEngine->load(QUrl(QStringLiteral("qrc:/qml/abc.qml"))); } Here abc.qml is very heavy qml file which need to be called from c++ side. But the problem is that while loading things it goes to not responding state for some seconds. Is there any way rid out of this problem? Source: Windows Que..

Read more

I’m creating a mobile app with Qt (C++) and I’ve remarked that the app looks like android old apps https://postimg.cc/kVFhJTqx but when I make a test with Qt Quick, the look and feel is completely different and more modern [https://postimg.cc/7CyWrF8H] but I don’t want to use qml. I have seen that I could modify the ..

Read more

I have a question about different shift behavior with QtVirtualKeyboard on text and password fields. import QtQuick 2.0 import QtQuick.Controls 2.3 import QtQuick.VirtualKeyboard 2.1 import QtQuick.Window 2.0 Window { id: window width: 800 height: 480 color: "#F6F6F6" MouseArea { id: content width: window.width Column { id: textEditors spacing: 15 x: 12 y: 12 width: parent.width ..

Read more

I have a QLinkedList container that contains objects of the DataObject class, my task is to display the data from the QLinkedList container in a ListView. When I try to output data to ListView, I get the error: QMetaProperty::read: Unable to handle unregistered datatype ‘QLinkedList<DataObject*>’ for property ’tile::Glav::list’ Before that instead of QLinkedList < Data ..

Read more