How the setup source control with the QT-Creator (GIT or SVN)
Hi, does someone have a good tutorial to activate source control in Qt Creator 3.2.1? I have read this documantion : http://qt-project.org/doc/qtcreator-3.2/creator-version-control.html But maybe there...
View ArticleComboBox and QAbstractListModel
How can I use QAbstractListModel as a model for ComboBox? It works fine with ListView, but when I set it as a model for ComboBox, my application generates the following warning at startup:...
View ArticleAre there any samples or documentation on coding a Qt Quick application using...
Hi, I’m looking for sample applications for building a “Qt Quick” application with the UI written in C++ (versus QML which is more popular). Anyone has any insight into how to use QT Quick Controls...
View ArticleAre there any samples or documentation on coding a Qt Quick application using...
Hi and welcome to devnet, Something’s not quiet clear here. Do you want to build the whole UI from QML elements but generated in C++ ? Or if you’re not interested in QML why not use the widget module ?
View ArticleSingleton Context Issues
Hi everyone, let start with some simplified code: ScreenManager.qml: pragma Singleton import QtQuick 2.3 Item { function createScreen(fileName, parentItem,...
View ArticleSingleton Context Issues
I just found the problem: var newScreen = Qt.createComponent("qrc:/" + fileName); If i dont prefix with qrc:/ it will try to load the file from qrc:/singletonfolder/ Good news is that...
View ArticleQML source code visible in executable.
Hi, Apologies if this is a simple question, as I am new to QT. Could anyone advise me if it is possible to hide the QML source code in the compiled exe/app file, so you can’t view it using a text...
View ArticleProblems with accessibility when QML Window is used
Then, you should test with the Qt 5.4 beta to see if it’s still the same
View ArticleQML source code visible in executable.
Hi, The only solution for this currently is to use QtQuickCompiler [doc.qt.digia.com]. But unfortunately this is not available in Qt Open Source. If you have an enterprise license you can use it.
View ArticleComboBox and QAbstractListModel
Hi, Can you post the relevant code ? It is tougher to guess the problem without it.
View ArticleHow the setup source control with the QT-Creator (GIT or SVN)
Hi, IIRC if you have subversion installed already it will be detected and that field will contain the path to svn executable. If it is empty then Browse and point it to the svn executable.
View ArticleQt Quick application creasshed when user close main screen.
Hi, everyone! I need help with strange crash. I’ve application with HTTP auth to QtForum. I’ve done this using HTML parser and all works fine. But when user start app and login with his account...
View ArticleLooking for Example of QML using QtWebKit via C++ back end to edit XHTML
I was looking at the Text Editor Example, which is using a QML control which uses QTextDocument through a C++ back end, which I like, but it destroys my HTML code, for example it will turn my div’s...
View ArticleLooking for Example of QML using a table view editor via a C++ back end to...
Right now I like the way the tableview example works, but I want to be able to edit and save the XML file, and it seems this example is read only using XmlListModel, and using the delegate to edit it,...
View ArticleProblem in QML sate transition when moving multiple images.
I have two rectangle and two images. Rectangle 1 id “rectgreen” is at postion P1 (x,y) and a image “ imagegreen” at same postion. Rectangle 2 id “rectred” is at postion P2 (x,y) and a image “ imagered”...
View ArticleProblem in QML sate transition when moving multiple images.
This shoud do the job.. import QtQuick 2.0 import QtQuick.Window 2.1 Window { visible: true width: 709 height: 1024...
View ArticleComboBox and QAbstractListModel
textRole [qt-project.org] expects a string so it should be “name” ReferenceError: modelData is not defined would occur when the Combobox is created (and thus model is set) before the model is actually...
View ArticleAnimatedImage Bug
I have a Qml page with an AnimatedImage element and some Image elements. When I change the sources of the Image elements while the AnimatedImage is running my application crash. What could be the reason ?
View Article