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 do I configure Qt for cross-compilation from Linux to Windows target?

I want to cross compile the Qt libraries (and eventually my application) for a Windows x86_64 target using a Linux …

linux qt mingw cross-compiling
C++ signal to QML slot in Qt

I want to send a Signal from C++ to a Slot in my QML File. I already got it working …

c++ qt qml signals-slots
switch/case statement in C++ with a QString type

I want to use switch-case in my program but the compiler gives me this error: switch expression of type 'QString' …

c++ qt switch-statement qt4 qstring
how to get selected rows in QTableView

After watching many threads about getting selected rows numbers, I am really confused. How do you get ROW numbers in …

qt row qtableview
How do I set a background color for the whole window of a Qt application?

Does anyone know how one would be able to set a background color for the whole window of a Qt …

c++ qt qstylesheet qwindow
Qt: Set size of QMainWindow

I'm new to Qt, so I wonder whether there is a way to set the size of a QMainWindow to (…

qt size qmainwindow
what is the correct way to implement a QThread... (example please...)

The Qt documentation for QThread says to create a class from QThread, and to implement the run method. Below is …

multithreading qt qt4 qthread
Configuring the GCC compiler switches in Qt, QtCreator, and QMake

I recently tried to use Qt Creator 1.3.2, Qt 4.6.2, and GCC 4.4.0 (32-bit version) on Windows 7 (64-bit) to compile an application using …

c++ qt c++11 qt-creator
Non-resizeable QDialog with fixed size in Qt?

I have a Qt dialog application. Now I dont want that dialog to be resizeable. I am not sure how …

qt qdialog
How to build Qt for Visual Studio 2010

I struggled finding a how-to which provides a stable solution for using Qt with Visual Studio 2010, so after collecting all …

c++ visual-studio visual-studio-2010 qt build