Top "Qtquick2" questions

Qt Quick is a modern user interface technology that separates the declarative UI design and the imperative programming logic.

How to access C++ enum from QML?

class StyleClass : public QObject { public: typedef enum { STYLE_RADIAL, STYLE_ENVELOPE, STYLE_FILLED } Style; Style m_style; //... }; The .h file …

c++ qt qml qtquick2
ListView scrolling animation

I want to implement a scrolling animation for QML ListView. Here is a sample image: Can anybody advise me for …

qt listview animation qml qtquick2
CMAKE_PREFIX_PATH doesn't help CMake in finding Qt5

From here: https://stackoverflow.com/a/28327499/462608 I tried this: cmake_minimum_required(VERSION 2.8.12) project(qtquick_hello_cmake) set(CMAKE_PREFIX_…

linux qt cmake qt5 qtquick2
Difference between qt qml and qt quick

I'm confused with QML, QtQuick 1.0 and QtQuick 2.0. What's the difference between them? I use QtCreator 2.8.1 based on Qt 5.1.1. I want …

qt qml qt-quick qtquick2
Accessing C++ QLists from QML

If I've got a list of things in C++, how do I expose that to QML (in Qt5 / QtQuick 2)? It …

c++ qml qt5 qlist qtquick2
QML: how to specify image file path relative to application folder

We are developing our first Qt/QML application (trying technology). While technology looks very promising at a glance, we have …

qt qml qtquick2
Exe file does not run without QtCreator

I installed Qt 5.0.1 for Windows 32-bit (MinGW 4.7, 823 MB) Then I created simple Quick 2 application and compiled it. Application is located …

qt qml qt5 qt-quick qtquick2
error: Unknown module(s) in QT: qml quick - Qt Creator

I installed Qt Creator via the Software Manager on Linux Mint 18 (x86_64). I made a few sample projects, and some …

c++ qt qt-creator qtquick2 linux-mint
How can I access my Window object properties from C++ while using QQmlApplicationEngine?

I've been trying to learn QtQuick for GUI creation, but I've been having a hard time understanding how to interact …

c++ qt user-interface qml qtquick2
QML: List all object members/properties in console

Is there any way to list all object members/properties in QML & Qt 5.1? Such as: var obj=myQObject; console.…

qt qml qt5 qtquick2