QML Beginner Questions
Well, can’t you try it out? I personally get an “unknown component” error without any imports, so no, no QtObject component either. It doesn’t seem like QML offers a choice to specify the connection...
View ArticleQt3D Qt3DQuick not in Qt5 source
I hear and see stuff about Qt3D and I’d love to check it out… The Qt3D project page says it’s integrated in Qt5, but I cloned the source from git and don’t see it. I see there is a separate git for...
View ArticleQML Beginner Questions
Thanks for your advices. However, I have a project to do, the faster the better, and moreover, I have a whole bunch of plugins READY, but NOT_QML. So I have to “qmlize” them all the way to make...
View ArticleCreate a plugin library of reusable QML files
Hi, http://qt-project.org/doc/qt-5.0/qtqml/qtqml-modules-topic.html should be what you’re looking for. In the module specification file (qmldir) you can define which QML files are exposed as types....
View ArticleTalking to Items inside a Component loaded with Loader / QtQuick 2.0
Ah wait, so this component is loaded into a Loader! That’s probably an overkill (it would work without the loader just fine). In order to get to the belly of a Loader, you need to acces it through item...
View Articlehow two connect two qml file using simple buttom
Please wrap your code in ‘@’ tags. And thanks for that snippet, I was too busy to answer myself.
View ArticleConnect QML signal to C++11 lambda slot (Qt 5)
Hello everyone, New QtQuick user here and having a jolly nice time so far! There is one question, however, for which I haven’t managed to find the answer so far in the documentation. Imagine that you...
View ArticleAbout Qt help documents
I build it from ubuntu app developer: http://developer.ubuntu.com/get-started/gomobile/ sudo add-apt-repository ppa:canonical-qt5-edgers/qt5-proper && sudo add-apt-repository...
View Articlehow to use list of elements in listmodel with different features(delegates)...
It looks like the above two posts are on the same (QML) issue, so I merged the separate topics you created and moved it to the Quick forum.
View ArticleHow to make QML applications with multiple files using the same technique as...
How to make QML applications with multiple files using the same technique as is done with Qt and Widgets? I would like to create muitiplas windows to feed a small database as user settings and...
View ArticleGridView wraps to late.
Hi there, I am new to using QML, so I don’t really know if the GridVirew’s behavior is normal. GridView wraps it’s content at some point, but to late, so the last element on each row gets clipped. Also...
View ArticleConnect QML signal to C++11 lambda slot (Qt 5)
A signal is just a method. You can use the QMetaMethod accessors to find it. isSignal() should return true. It’s early in the morning and I haven’t fully woken up yet, so I might be wrong. Cheers, Chris.
View ArticleHow to make QML applications with multiple files using the same technique as...
Hi, From a “basic” point of view, each QML file defines a type, and if that type happens to be a visual item with some set dimensions (say, 500×500pix) then you can simply instantiate each one, and set...
View ArticleI imported existing files to my QML project. Why does my app not find the file?
Hi, This might actually be a bug, if the relative URL is being resolved wrongly based on the base URL of the component. I assume that “file:///path/to/app/myapp-build-042394-Release/scripts/x.js” is...
View ArticleQML Video element and Gstreamer options
Hi everyone, I’m trying to show a video on my qml code (qt5), I’m working on a ARM device. The problem is that if I create a Video tag (QtMultimedia 5.0) with a sample video I cannot see any video...
View ArticleProblem with DB connection
I’ve been trying to connect my program to a database, unsuccessful #include <QCoreApplication> #include <QtSql> #include <QtDebug> int main(int...
View ArticleProblem with DB connection
Hello qxoz! I do apologize. I saw that posts were getting few or late answers, so I posted in multiple threads, to increase my odds of resolving the matter. I edited the original post, to display the...
View ArticleQML ShaderEffect and property type
Hi all, I would like to pass a matrix3×3 to my openGL script but I can’t find the right type to use in QML. It works with a matrix4×4 in the following example : ShaderEffect { ......
View Article