Top "Qml" questions

they interact and relate with one another.

How to create and use C++ objects in QML Javascript

My app uses both c++ and QML. I've defined several objects in C++ part to access SQL etc. It looks …

javascript qml qt5 qt-quick qtquick2
Qt File Browser based on QML

It is easy to implement a file browser by using QFileSystemModel. But the listview UI is not pretty. So I …

qt browser filesystems qml qfilesystemmodel
QML TableView with dynamic number of columns

I have been trying to use a QML TableView to display a QAbstractTableModel. The missing part of the equation seems …

c++ qt qml qtquick2
Placeholder text in QML TextEdit

I am looking for a way to show a text hint stating the expected input as advice for the user. …

qml qt-quick
Can I use JavaScript to get JSON data from the server inside my qt app?

I need to get JSON data and load it to a table. As I guess I need some C++ skills …

qt qml
Invalid write to global property QML

I have this signal class SystemUICfgScanner { /*code here*/ signals: void error(QString desc); /*more code*/ }; In QML I use an …

qt properties qt4 qml qtdeclarative
error: 'qmlRegisterType' was not declared in this scope

Working with Qt 5 and QtQuick 2.0 .pro # Add more folders to ship with the application, here folder_01.source = qml/untitled folder_01.…

qt qml qt-quick
Q_ENUMS are "undefined" in QML?

Enums are not working out for me. I have registered them with Q_ENUMS() I did not forget the Q_…

c++ qt qml qtquick2 qt-signals
QML Dialog with focused textField

I am working on Qt quick application and I wanna open dialog. In this dialog window is TextField and I …

dialog focus qml textfield qt-quick
Qml QtQuick2 'Invalid property name "style"(M16)'

I'm writing a mobile application in Qt5.7.0 QtCreator 4.1 and i'm getting the error in QtQuick qml file 'Invalid property name "…

qt qml qt-creator qtquick2 qtquickcontrols2