How can I implement a fixed update rate for a custom QDeclarative item?
I have a custom QDeclarativeItem with a custom paint implementation. The paint implementation renders a 3d scene onto an FBO object. I’d like this 3d scene to be updated at fixed intervals as far as...
View ArticleC++ plugin for QML
Hi, everybody! I have an application that consists of a QML part and C++ part (a lot of classes that can be accessed from QML). The QML files are located in a qrc. I want to detach the C++ part and...
View ArticleHow can I implement a fixed update rate for a custom QDeclarative item?
Override QDeclarativeView::paintEvent(QPaintEvent *event) if you propogate the event to QDeclarativeView::paintEvent(event); it will paint, otherwise won’t. void my_class::paintEvent(QPaintEvent...
View ArticleHow to use DropArea ?
I am definitely seeing what you are seeing sanwangshan. It definitely appears that there are some peculiarities when rectangles intersect that have child DropAreas. I’ve been looking at your samples...
View Article[Solved] Pure QML plugin as a single file (library)
OK, I’ve found the solution. Create new project as a static/dynamic library. Add the qml files to the project. Create a resource description with a custom prefix (‘controls’ for example), add there the...
View ArticleWrong window size and coordinates mapping using QML(QQuickView) on Windows 8...
After further investigation, it seems that something more fundamental got broken/changed during transition from Qt 4.8.4 to Qt 5.0.1. The same code for full screen behaves in a similar way if I use...
View ArticleHow does QML id property work?
How exactly is the id property implemented? Is it like elements with id register inside a quick lookup container? Or is the id resolved in some other way? The id doesn’t appear to be a string, so I am...
View ArticleMultiple geometry nodes for a sigle component?
I am in a situation I need multiple geometry nodes to draw a custom item, so I am wondering if that is possible? The QQuickItem::updatePaintNode does seem to infer a single geometry node per component.
View Articleqml root deleted on startup
Issue: I have a qt 4.8.4 application that sets the source for my declarative view, all the components complete (Component.onCompleted called) but then Component.onDestruction is called straight away....
View Articleqml root deleted on startup
Usually there’ll be a signal handler or something which is invoked prior to the point that object creation completes (or more correctly, prior to the point where all of the...
View ArticleHow does QML id property work?
So the id is resolved during runtime using a hash value as I expected. That would imply the performance penalty for extensive use, long identifiers and lots of them will grow… Isn’t it possible to...
View ArticleCurve Manager from a list of Points
Hi, I am using now QT5.01, and Qtquick2.0. I was wondering if someone already developpe a Curve Manager for this? diplaying lists of points, scrolling in the curve, adding and removing point… Before...
View ArticleUnable to deploy the qt quick app on other windows machine.
I have written a qt quick 2 application which is not running in any windows machine that has not been installed with Qt 5. I am using Qt 5.0.1. I have shared the images of my release folder and plugins...
View ArticleCurve Manager from a list of Points
If you don’t need your curves to be clickable and manipulable you could use a canvas.
View ArticleQt Quick 1.1 ScrollBar
how to make a “scrollbar” in TextArea in Qt Quick 1.1…if anyone work with this plz help me to make it…
View Articlehow to integrate qml files with exe
How to integrate all the qml files with the main executable file…
View ArticleQML, QtQuick2 performance, How to get the best of OpenGL?
Hi, I have a QML application displayed on 6 HD screens with touch screen capability. My graphic cards are Nvidia Quadro NVS 450. I had some slight latency issues I migrate from Qt4 Quick 1 to Qt5...
View ArticleQML, QtQuick2 performance, How to get the best of OpenGL?
You can build Qt for desktop OpenGL instead of the default at the moment ANGLE implementation.
View Article