Loader wont find source when using several qrc files and relative paths
Have you try with Qt.resolvedUrl( url url ) ? http://qt-project.org/doc/qt-4.8/qml-qt.html#resolvedUrl-method
View ArticleWhy Rectangle.radius is so performance expensive?
I’m on Qt 5.2-beta1 with EGL render on an x86-based system running Linux. With square rectangles the perormance is alright. But just as soon as I add raduis: N , it drops to nowhere. I had to remove...
View ArticleSmooth repaint
Hi! I have elemens hierarchy like this: RootItem.qml import QtQuick 2.0 Flickable { id: flickable...
View ArticleScope of the "id:" with the TabView Control in Qt Quick?
QML code of TabView (Qt/5.1.0/gcc_64/qml/QtQuick/Controls/TabView.qml) looks like all the tabs are added dynamically. I think the problem in this.
View ArticleWrong behavior with State's extend property
I can’t see states you described “have one state with firstBool && !secondBool while the other has firstBool && secondBool . “ you have one state when: firstBool and...
View ArticleWhere can I find a simple well explained step by step tutorial on cross...
I have googled a lot to find a a good tutorial on how to cross compile Qt5.1.1 IDE (the full package) for BeagleBone Black on Ångström linux. Unfortunately many of the tutorials were either not well...
View ArticleFileDialog as superuser strange behaviour
I solved my problem. In the second picture it was a pure qml fileDialog. it appears if none of OS fileDialog or QtWidget fileDialog can not be opened. line “QGuiApplication app(argc, argv);” in my...
View ArticleQML delegate slots and signals
Hi, I am faced to problem how to connect delegate slots (functions) with signal from its object (that should be represented by delegate). I need to do some staff in delegate when the signal in “base”...
View ArticleCan't render image in TextEdit rich format
I’m new in qtquick. using QTQuick 1.1; I try to render an image using a TextEdit widget. TextEdit { id: messageText text: “Hello <img />” readOnly: true } with this code I get a fake...
View ArticleWhere can I find a simple well explained step by step tutorial on cross...
Thanks SGaist. I was completely ignorant. I will also start switching my workspace to newer platform.
View ArticleHow to discern between user and programming generated events in QtQuick...
I’m doing some tests with QtQuick controls to find out how to use it in a bigger project. I’m controlling a webcam and i want to connect a QML spinbox to a C++ module so i can change the exposure time...
View ArticleDelegates and Instantiator problem.
Hey ! I have a issue figuring out how to dynamically create objects, inside a object of the same type, specifically a menu. my code looks something like this: // ContextMenu.qml import QtQuick 2.1...
View ArticleQt5.1 TextField - Keys attached property - capturing key-presses
Hey @g1ennr Nope, Currently this does not seem to be possible with TextField. I have a bug submitted for this. Seems @Jens is currently assigned to it and he seems to prefer TextField having this...
View ArticleQML List fetches DisplayRole from model; how can I change that?
I have some QML (that I did not write and to be honest do not understand, but nonetheless need to maintain) code that looks a lot like this: Item { ...
View ArticleQML List fetches DisplayRole from model; how can I change that?
Is this sufficient help for you? It may well be, thank you. I am using 4.8 to maintain a Solaris compatibility, but the function does exist in 4.8
View ArticleModel from C++ to QML
I managed to create the model without any problems. But unfortunately I ran into another issue. I need to create variable number of ListViews and be able to index them by number. In Python/PySide I...
View ArticleHow to embed Qt Quick controls
Hi, could you explain better what do you mean? Before ask about an example, can you provide an idea of what you want?
View ArticleRender parts of a QML scene to offscreen buffer (FBO)
Anyone know of a way to render parts of a QML scene (perhaps subtrees of the scene graph) to an offscreen buffer, like an FBO? Something similar to this:...
View ArticlePlease help to choose component.
Can you use a stylesheet on the TextEdit to supply the “background” (I’m assuming you mean a background image, if not please explain).
View ArticleHow to discern between user and programming generated events in QtQuick...
You probably want to try to avoid the property binding being updated from both C++ and QML. Not just from a practical standpoint to avoid the infinite loop, but also for debugging sanity. :) One way I...
View Article