Quantcast

really slow eval() on large data object

Hi, For now the only reasonable solution is to use QScriptEngine::evaluate, which does the parsing almost instantly, but as I understand that is the old engine and I don’t want an extra...

View Article


Disable Delegate's MouseArea until ViewTransitions have finished

No need for that just bind the runnig property. ListView { ... delegate: Rectangle {    ...    MouseArea {        anchors.fill:...

View Article


how to correct use QtConcurrent::run

Hi, I’ve tried this but no luck. Maybe you have few examples how to use QtConcurrent::run and worker?

View Article

calling setContextProperty() multiple times with same name

Hi, I’m working on an entity-component based application. Basically an entity is a list of components and a component is just an object which has some simple data (ints, strings, floats,…). I have a...

View Article

Very strange/bugged SplitView behavior

Hi, I’m using a SplitView like this: import QtQuick 2.4 import QtQuick.Controls 1.3 import QtQuick.Layouts 1.1   Rectangle {     id: root     width: 600...

View Article


Injecting Qml Objects created in c++ into existing Qml Elements

Hello, I created a C++ app with a QQuickView like this QQuickView view; view.setSource(QUrl::fromLocalFile("MainItem.qml")); view.show(); MainItem.qml import QtQuick 2.3  ...

View Article

Image display in QML c++

I’m just thinking out loud but my approach to this would be to set the Image{} source property to point to something like m.currentSource. Then of course your C++ class must have a Q_PROPERTY of...

View Article

Model / View update efficiency in QML?

I am noticing something odd – making changes to a C++ model takes as much time to update the UI representation of the model as entirely resetting the model. This leads me to assume model / view...

View Article


Injecting Qml Objects created in c++ into existing Qml Elements

Hi, Did you setParentItem [doc.qt.io] to ChildItem ?

View Article


Model / View update efficiency in QML?

Hi, Part of it depends on how you send the information about what you have changed. I’ve typically saw code where rather that calculating the right dataChanged range some developer where sending the...

View Article