Top "Qt4" questions

Questions specifically relating to the deprecated version 4.x.x of the Qt C++ GUI library.

Simple multithreading with Qt: am I doing this right?

I'm new to StackOverflow and wondering if I'm doing this right: I'm writing a simple Qt application to test multi-threading (…

c++ multithreading qt4 qthread
How do I disable one tab in a QTabWidget?

I have a QTabWidget called tabWidget. It has three tabs: "Basic", "Advanced", and "Current Structure". The tabs are displayed in …

qt qt4 qt5 qtabwidget qtabbar
Invoke slot method without connection?

I have a live object implemented in the following way. It is used to execute long tasks in background. The …

qt4
Qt QHBoxLayout percentage size

How can I maintain an aspect ratio between two QHBoxLayouts? For instance I want a QHBoxLayout to be one third …

c++ qt qt4
Qt, Linux, check if a given user has sudo privileges

I am running Fedora 17 KDE x64 and Qt 4.8.1. In contrast with Ubuntu, Fedora doesn’t give the first created user …

linux qt qt4 sudo sudoers
Add QWidget to QListWidget

I am trying to make a QListWidget in which each item is a simple widget that contains text and a …

qt qt4 pyqt pyqt4 pyside
Example code for a simple web page browser using WebKit QT in C++

I have never used Qt and WebKit and now have a need to create a simple single web page browser …

c++ qt webkit qt4 qtwebkit
Blocked waiting for a asynchronous Qt signal

I know, there are some similar questions to the following out there, but I couldn't find a concrete answer that …

c++ qt qt4
Is it possible to connect a signal to a static slot without a receiver instance?

Is it possible to connect a signal to static slot without receiver instance? Like this: connect(&object, SIGNAL(some()), …

c++ qt qt4 signals-slots
How to check the selected version of Qt in a .pro file?

I have multiple versions of Qt installed, and I need to compile my project with all of them. Using a …

qt qt4 qt5 qmake qtgui