Qt 4.8.7 -
QApplication app(argc, argv); QLabel label("Hello from Qt 4.8.7"); label.show(); return app.exec();
Add to your ~/.bashrc :
wget https://download.qt.io/official_releases/qtcreator/3.5/3.5.1/qt-creator-opensource-linux-x86_64-3.5.1.run chmod +x qt-creator-opensource-linux-x86_64-3.5.1.run ./qt-creator-opensource-linux-x86_64-3.5.1.run Then set Kit → Qt version → /opt/qt487/bin/qmake . If you're starting a new project → do not use Qt 4.8.7 . qt 4.8.7