[solved] How do I attach properties to a Component?
Hi there, I am trying to understand the Component objects. So I’ve written two .qml files. Container.qml, which is a Rectangle that displays an arbitrary object (aThing). The other file (main.qml) is...
View ArticlePerformance issue with multi QQuickView
My multi QQuickView programs (in the same process) seems run well on Windows.
View Article[solved] How do I attach properties to a Component?
Yay! Found the solution. It’s actually pretty simple. When creating an object with Loader you can add properties the same way you do with all other objects. Loader { property...
View ArticleTo create a new dialogue box using QML
I’m also not working that long on QML but this is how I do it. I make the dialog as a new .qml file. This will be created dynamically and added on top of the parent. You could also use the QML Loader...
View Article[SOLVED] QQmlListProperty: QObject subclass usage
OMG! Well, that solved the whole thing :) I were using Sub-Subclasses from QML and those were registered, while Subclass itself wasn’t. Thank you very much!
View Article[SOLVED] How do I know my QQmlListProperty changed from QML?
Thank you, Chris, this seems more like it is in Qt sources: custom append function implemented for property. I think such an implementation really gives you more control over the situation, will give...
View Article[SOLVED] QML DefaultProperty, setting order
I have re-checked the case with a clear project and came to the idea that my observations were dependent on what I do when properties of an object are being set. That last time I had a sistem which...
View ArticleQML remote debugging doesn't work - symbol lookup error, undefined symbol
My development environment: Host/Desktop: Ubuntu 12.04 LTS guest running in a virtual machine on a Windows 7 host, Qt4.8.0 libraries Device: own development, embedded Linux Cortex A8 device, TI SDK...
View ArticleImage alignment does not appear to work?
I am trying to change the alignment properties of an image so that it moves about it’s centrepoint, so for example, at position 0, 0 then the top left half of the image extends outside its parent. To...
View Article[solved] How do I attach properties to a Component?
Thank you for your input Chris, the point about this post, as hinted in the title, is to pass information from the place where the Loader Element is used to instantiate an arbitrary object, to the...
View ArticleQML remote debugging doesn't work - symbol lookup error, undefined symbol
On the embedded device I have GNU gdbserver (GDB) 7.2 “arm-arago-linux-gnueabi” and on the host, after sourcing environment-setup for the linux devkit it shows GNU gdb (Ubuntu/Linaro...
View ArticleQML2 Books / Tutorials?
Anyone have suggestions on either a good book or set of tutorials for QML2? There doesn’t seem to be any good resources located in a single place and I end up spending a lot of time hunting around. I’m...
View ArticleAccessing blind data in a base object via external view objects
This is probably more of a philosophical discussion kick-off / bikeshed problem than an actual question, but here goes: I’ve got an fairly generic QML object that acts as a base class for more complex...
View ArticleQt Contols:Cannot build it in Qt 5.0.1 (Ubuntu 12.04.2 LTS)
Hello! I try to build qt components (as i understand now it is Qt Controls) for Ubuntu+Qt 5.0.1 (build from source). Should i open issue on bug tracker? Error: cd src/ && ( test -f...
View ArticleQML using QGLWidget as viewport not getting TouchEvents
A little progress, by sending the TouchEvents to viewport QGLWidget the gesture recognizer is recognizing the tap gesture. However, the tap gesture fails with this message:...
View ArticlePathView Using QAbstractListModel Determines Count Late
I’m pretty sure that I’m running into exactly the same problem: http://qt-project.org/forums/viewthread/26441/ [qt-project.org]...
View ArticleQ_ENUMS as property variant index
Hello all! I have the following problem: i declare enum in C++ and share it to QML context class TestClass{ Q_OBJECT Q_ENUMS(testEnum) public: ...
View ArticleQt Contols:Cannot build it in Qt 5.0.1 (Ubuntu 12.04.2 LTS)
It might, as Qt Quick Controls are an integral part of 5.1.
View ArticleQML2 Books / Tutorials?
In the future perhaps, hopefully, for 5.0 and 5.0.1 doc building failed for me (and not just me) and only HTML docs were generated, and worse than the online version – the missing snippets are still...
View Article