Top "Qt5" questions

Questions specifically for version 5.x of the Qt library.

How to declare list property in QML

How do I declare a list property in QML (for use with Qt.labs.settings in my case): Settings { property …

qt qml qt5 qtquick2
Raspberry Pi Qt5 Set physical screen size

I am developping a qt5 application on my raspberry pi on raspbian using cross compilation. When I run it, I …

environment-variables raspberry-pi qt5 screen-size raspbian
creating new thread using Qthread-Qt5

I am trying to create a new thread gpsthread which should run in the back ground, and store the value. …

c++ multithreading qt5 qthread
How to specify Mac platform in qmake (QtCreator)

I would like to set some configurations for Mac OS in pro file via QtCreator. I read the document, and …

macos qt qt4 qt5 qmake
Qt 5 build error: extra characters after test expression

I am trying to learn Qt 5.3, and this is my first program (hello world). When I try to build, it …

c++ qt qt5
Parse jsonarray?

I've got an JSON like the following: { "agentsArray": [{ "ID": 570, "picture": "03803.png", "name": "Bob" }, { "ID": 571, "picture": "02103.png", "name": "Tina" }] } Now I'm …

c++ json qt qt5 qtcore
Qt 5.4/Qml: Prevent binding loop

I have a global singleton "Settings" which holds application settings. When I try to run the following code I get …

c++ qt qml qt5 qt5.4
Make qmake use qt5 by default

I have both qt4 and qt5 on my Linux system. qt4 is used by default. What is a clean way …

qt qt4 qt5 qmake
How to change QJsonObject value in a QJson hierarchy without using copies?

I am currently using Qt5.0 with the core QJson library to handle some data for the program I am developing. …

c++ json qt qt5 qjson
How to create a message dialog using QML Control elements(such as combobox, textfield, checkbox..)

I want to create a message dialog in the following way For example:My combobox has 2 name, “chkbx”(symbolic name …

combobox qml qt5 qt-quick messagedialog