8

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?

2
  • 2
    "apt-get install qtquick1-5-dev" makes that specific build error go away, I think Apr 29, 2013 at 17:20
  • Thanks Erik, that helped me since I got the same error above. (Missing Qt Declarative.)
    – jeremiah
    Nov 26, 2013 at 13:36

1 Answer 1

2

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:

  1. Remove the existing version of Qt Creator you have installed:

    sudo apt-get autoremove qtcreator
    
  2. Download the appropriate installer from this page:

  3. cd into the directory that contains the installer you downloaded and run:

    chmod 755 qt-creator-linux-*-opensource-2.6.1.bin
    
  4. Launch the installer:

    sudo ./qt-creator-linux-*-opensource-2.6.1.bin
    
  5. 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.

2
  • Strangely, 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.
    – int_ua
    Dec 27, 2012 at 19:52
  • Looks like ok. I wanted Qt Quick 2.0 and it's not installed. But that's another question. Do you know if that's available?
    – int_ua
    Dec 27, 2012 at 19:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .