Top "Qt4" questions

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

How can I move file into Recycle Bin / trash on different platforms using PyQt4?

I would like to add the next feature to my cross-platform PyQt4 application: when user selects some file and select "…

python qt4 cross-platform pyqt4 recycle-bin
Qt Designer - How to get a widget to span columns?

I created a simple form. I added a PushButton in the bottom right, and then a TabWidget above that. I …

qt4 qt-creator grid-layout
Is there QPath::Combine in QT4?

I need a similar to .NET method for safely combining path parts without worrying for platform specifics of the path …

c++ qt path qt4 path-separator
HowTo set Icon to Qt Application, created with Qt Visual Studio Add-in?

Here is what I have: Visual Studio 2008 (on 32-bit Windows XP) Qt libraries 4.6.2 for Windows (VS 2008, 194 MB) Visual Studio Add-in (44 …

qt qt4 ico
How to rotate text for drawText?

I would like to rotate the text 45 degrees? QFont font; font.setPixelSize(12); //grid for(int i = 0; i < 10; i++){ painter-&…

c++ qt qt4 qt5 qpainter
Triple inheritance causes metaclass conflict... Sometimes

Looks like I stumbled upon a metaclass hell even when I didn't wanted anything to do with it. I'm writing …

python oop qt4 multiple-inheritance metaclass
How to disable selection highlighting in a QTableWidget

I have a QTableWidget with a disabled setSelectionMode (QTableWidget::NoSelection) and the QTableWidgetItems I fill in don't have the Qt::…

python c++ qt qt4 qtablewidget
QT4: Transparent Window with rounded corners

How can I create a partially transparent window with rounded borders (no standard borders)? (I used Qt::FramelessWindowHint to disable …

c++ user-interface qt qt4
How to copy Qt runtime DLLs to project output

I have a simple project created in Qt Creator (installed using Qt SDK 1.1.4). It runs just fine from within Qt …

c++ qt qt4 qt-creator qmake
How to add external libraries to qt4 application c++

what is the best way to add additional compiled libraries to my qt project ? For example boost or poco libs ? …

c++ qt4 qmake