Top "Qt" questions

Qt is a cross-platform application development framework widely used for the development of application software that can be run on various software and hardware platforms with little or no change in the underlying codebase, while having the power and speed of native applications.

How to create/read/write JSON files in Qt5

Qt5 has a new JSON parser and I want to use it. The problem is that it isn't too clear …

c++ json qt qt5
QComboBox - set selected item based on the item's data

What would be the best way of selecting an item in a QT combo box out of a predefined list …

c++ qt user-interface combobox qcombobox
Hide console of Windows Application

I have a Qt application, and when I run this application, there is a console opening behind it. In development …

windows visual-studio qt console hide
Cannot connect to X server :0.0 with a Qt application

Compiling on Fedora 10. I have just started my first qt GUI application. I used all the default settings. Its just …

linux qt x11
How to link opencv in QtCreator and use Qt library

This question must be duplicate many times, but it just doesn't work and sometimes it still remains unanswered. Sources of …

c++ qt opencv qt-creator
Cannot launch AVD in emulator:QT library not found

I am new to Android Studio and I am having problems while using the emulator. When I try to run …

android qt android-studio android-emulator avd
Get elapsed time in Qt

I'm looking for the equivalent in Qt to GetTickCount() Something that will allow me to measure the time it takes …

c++ qt
can the Open File dialog be used to select a Folder?

The "Browse For Folder" Windows dialog is very inconvenient because: it has no Path box where I can paste the …

qt openfiledialog
QVBoxLayout: How to vertically align widgets to the top instead of the center

In Qt, When I add widgets to my layout, they are vertically centered by default. Is there a way to "…

qt qlayout
Convert an int to a QString with zero padding (leading zeroes)

I want to "stringify" a number and add zero-padding, like how printf("%05d") would add leading zeros if the number …

c++ qt qstring