[SOLVED] TypeError: Object has no method 'process'- BUT IT HAS
Yep, one more time I forget to include the Q_OBJECT macro – IDE code generation is spoiling me.
View Article{ Qt5.0.2/QtQuick2.0/C++ } What is the right way to make a class outside...
I have described the question in detail in stack overflow: http://stackoverflow.com/questions/16066428/qt5-0-2-qtquick2-0-c-what-is-the-right-way-to-make-a-class-outside-main-cp The problem:...
View ArticleBest practice: Integrate .js file to a project
Hi, the question is, how to properly add a .js file to my project. Currently, I have created a qrc file and add the .js file to it. Now, I can reference to it with an import statement like this: import...
View Article{ Qt5.0.2/QML/QtQuick2.0/C++ } Example Projects that run without errors?
a duplicate of this question is posted here too: http://stackoverflow.com/questions/16068954/qt5-0-2-qml-qtquick2-0-c-example-projects-that-run-without-errors My setup is Qt5.0.2 MinGW 32-bit. I am...
View Article[SOLVED] { Qt5.0.2/QtQuick2.0/C++ } What is the right way to make a class...
Thank you, @moeg687 ! This helped a lot.
View ArticleSIGSEGV error during memory deallocation in QQuickItem destructor
We are running into problems using QtQuick 2.0 on Qt 5.0.1 and 5.0.2. Our program have been ported from Qt4/QtQuick 1.1 and was running without problems since one year and a half. We are using QML in...
View ArticleSIGSEGV error during memory deallocation in QQuickItem destructor
Thank you for this reply. We don’t share QObject with the QML code but our QML code makes use of XmlListModel and from time to time affect http urls to the source property of image elements. We will...
View Article"Proper" way of handling events for a node-based editor / system.
Hi everyone, I am in the process of building a node-based system in Quick 2.0 like the one displayed below and I am facing the following problem. I want to be able to click in a node, e.g. Node B in...
View Article{ Qt5.0.2/QML/QtQuick2.0/C++ } Example Projects that run without errors?
C++ classes for Quick2 are renamed from QDeclarative* to QQml* or QQuick* depending on which module they belong to. For example QDeclarativeView is QQuickView and QDeclarativeEngine is QQmlEngine....
View ArticleQml video problem ...
Hi everybody, I’m developping a simple application which play a video with QtMultimediaKit in Symbian, the application works well when i play, pause or stop the video but when i hide the application in...
View Article"Proper" way of handling events for a node-based editor / system.
Too bad there is no childAt() method in QML.
View ArticleUse index in a ListView delegate
Hi, i hope you can help me to find out whether i have found a bug or not. I tried to use the index variable in a delegate within a ListView. ListView { id: selectedItems...
View ArticleUse index in a ListView delegate
It really looks OK so I’m not sure why you get this error. Maybe using Loader changes something or parenthesis are unnecessary. Very odd indeed.
View ArticleBest practice: Integrate .js file to a project
At least when the js/qml files are in the same qrc file, you can adress the .js files like so from QML: import "helper.js" as Helper even when theyre inside the qrc. This works with...
View ArticleQml video problem ...
When a QQuickWindow instance is deliberately hidden with hide() or setVisible(false), it will stop rendering and its scene graph and OpenGL context might be released. The sceneGraphInvalidated() signal...
View ArticleBest practice: Integrate .js file to a project
this doesn’t work for me. The program didn’t find the file. Perhaps this is because of my mac system. But in Qt Creator this is an error, too.
View ArticleWhere is located the SQLITE Database file used within QtQuick 2.0 Applications ?
Hi, in my application i use the QML Local Storage SQLITE Database and i need the database file for debug purpose and export import purposes. So where can i found it ? Thank you.
View ArticleUse index in a ListView delegate
The visible line is wrong. You want: visible: (index == 0) ? false : true Also, you don’t need to declare your delegate in a component, the delegate just needs to be given a delegate-derived...
View ArticleQML Canvas causing crash
My application is essentially a dynamically created set of pages (similar to PageStack) with a ListView as one of the contained items. I’ve was using a Canvas as the ListView highlight component, which...
View ArticleSequentialAnimation, how to reduce the gap.
Hi everybody. I have implemented the “SequentialAnimation on y {” to obtain a floating object from Y to Y+ 30. How can I reduce the gap (30 to zero) dinamically? ...
View Article