Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Import autocomplete fro new Qt version modules
Forum Updated to NodeBB v4.3 + New Features

Import autocomplete fro new Qt version modules

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
qmlqt5.8qtcreator
4 Posts 3 Posters 1.4k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • RiteshPanchalR Offline
    RiteshPanchalR Offline
    RiteshPanchal
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      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.

      (Z(:^

      1 Reply Last reply
      2
      • T Offline
        T Offline
        TommyO
        wrote on last edited by
        #3

        I think am seeing the same thing.

        I am running openSUSE Leap 42.2 with:

        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.run to download and install Qt 5.8 and Qt Creator 4.2.1, which install to my user account at ~/Qt

        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?

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          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.

          (Z(:^

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved