Quantcast
Browsing all 4972 articles
Browse latest View live

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 Article


ComboBox 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 Article


Are 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 Article

Are 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 Article

Swipe Screen

Solved it.It is working fine now

View Article


Singleton Context Issues

Hi everyone, let start with some simplified code: ScreenManager.qml: pragma Singleton import QtQuick 2.3   Item {       function createScreen(fileName, parentItem,...

View Article

Singleton 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 Article

QML 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 Article


Problems 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 Article


QML 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 Article

ComboBox and QAbstractListModel

Hi, Can you post the relevant code ? It is tougher to guess the problem without it.

View Article

How 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 Article

Qt 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 Article


Looking 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 Article

Swipe Screen[solved]

Please add [SOLVED] to your thread title!

View Article


Looking 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 Article

Problem 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 Article


Problem 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 Article

ComboBox 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 Article

AnimatedImage 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
Browsing all 4972 articles
Browse latest View live