Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Import autocomplete fro new Qt version modules
RiteshPanchal last edited by
I am using Qt on nVidia Tx1 embedded board with ubuntu 14.04.
I have installed Qt 5.2.1 by using apt-get method and Qt 5.8.0 by compiling the source and make install in /usr/local.
5.8.0 works fine.
but I can use latest modules like import QtQuick 2.7 without any error.
but the auto complete "Ctlr+Space" functionality only showing me the module versions available in Qt 5.2.1.
So how to add path so that qt creator can find all modules in Qt 5.8.0 through auto-complete.
A lot has happened since Qt 5.2. My first guess is that you installed some old Qt Creator (provided by Ubuntu 14.04) and it somehow does not support symbols from 5.8.0. Try installing the newest Qt Creator if that is the case.
TommyO last edited by
I think am seeing the same thing.
I am running
openSUSE Leap 42.2with:
KDE Plasma Version: 5.8.3 KDE Frameworks Version: 5.26.0 Qt Version: 5.6.1
I do not have Qt Creator nor any of the Qt-devel packages installed from the OS repositories.
I have downloaded and run
qt-unified-linux-x64-2.0.5-online.runto download and install
Qt Creator 4.2.1, which install to my user account at
Creator runs just fine, my app compiles using the Qt 5.8 libs just fine. The only problem is that autocomplete refuses to suggest anything after Qt 5.6 so I assume it is getting the suggestions from the base system libs rather than the libs I actually compile against.
Am I missing something?
Go to Tools->Options...->Help->Documentation and see which docs are loaded.
Also, check Tools->Options...->Build & Run->Qt Versions, maybe it is picking up your system Qt, however it is unlikely.