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.

Correct way to quit a Qt program?

How should I quit a Qt Program, e.g when loading a data file, and discovered file corruption, and user …

qt resources exit quit
How can I get the selected VALUE out of a QCombobox?

In Qt, I can get the selected text of a QComboBox by using the combobox->currentText() method. How can …

qt qcombobox
How to enable C++11 in Qt Creator?

The title is pretty self-descriptive. I've downloaded Qt Creator 2.7.0, and I am trying to compile some basic C++11 code: int …

c++ qt c++11
Error QApplication: no such file or directory

I have installed C++SDK that have Qt but when I try compiling a code linking QApplication it gives me …

c++ qt
How to format a QString?

I'd like to format a string for Qt label, I'm programming in C++ on Qt. In ObjC I would write …

c++ qt string-formatting
Checking if a folder exists (and creating folders) in Qt, C++

In Qt, how do I check if a given folder exists in the current directory? If it doesn't exist, how …

c++ qt filesystems
Interpreting segfault messages

What is the correct interpretation of the following segfault messages? segfault at 10 ip 00007f9bebcca90d sp 00007fffb62705f0 error 4 …

linux qt webkit kernel segmentation-fault
Display QImage with QtGui

I am new to Qt, and I am trying to create a simple GUI Application that displays an image once …

c++ qt qimage qtgui
Qt c++ aggregate 'std::stringstream ss' has incomplete type and cannot be defined

I have this function in my program that converts integers to strings: QString Stats_Manager::convertInt(int num) { stringstream ss; …

c++ string qt stringstream
Console output in a Qt GUI app?

I have a Qt GUI application running on Windows that allows command-line options to be passed and under some circumstances …

c++ windows qt qt4