How to add Qt5 to Qt Creator?
Yes, but not the version of Qt Creator in the archives. Qt 5.0 is compatible only with Qt Creator 2.6.1+. Thankfully, installing Qt Creator 2.6.1 is relatively easy:
-
Remove the existing version of Qt Creator you have installed:
sudo apt-get autoremove qtcreator
-
Download the appropriate installer from this page:
-
cd
into the directory that contains the installer you downloaded and run:chmod 755 qt-creator-linux-*-opensource-2.6.1.bin
-
Launch the installer:
sudo ./qt-creator-linux-*-opensource-2.6.1.bin
Complete the installer, leaving all settings at their defaults.
If all goes well, you should end up with an icon in your desktop environment's dash or equivalent. You should then be able to use Qt 5.0 with Qt Creator.
Related videos on Youtube
![int_ua](https://i.stack.imgur.com/zs0ZJ.jpg?s=256&g=1)
int_ua
I dream of a day when settings are written to disk only when changed and software does not freak out when $HOME is read-only.
Updated on September 18, 2022Comments
-
int_ua almost 2 years
I've added the Qt5 Daily repository, installed the
qt5-meta-full
and added/opt/qt5/bin/qmake
to Qt Versions. Now I get:-1: error: Unknown module(s) in QT: declarative
Is it possible yet to use Qt5 with Qt Creator?
-
Erik Sjölund about 11 years"apt-get install qtquick1-5-dev" makes that specific build error go away, I think
-
jeremiah over 10 yearsThanks Erik, that helped me since I got the same error above. (Missing Qt Declarative.)
-
-
int_ua over 11 yearsStrangely, I still had Qt Creator 2.4 in Dash after this. But running
bin/qtcreator
from the installation directory launches 2.6.1. Checking it.