Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QtQuick 1.0 with QtCreator [Linux Ubuntu]
Forum Updated to NodeBB v4.3 + New Features

QtQuick 1.0 with QtCreator [Linux Ubuntu]

Scheduled Pinned Locked Moved Qt Creator and other tools
3 Posts 2 Posters 3.5k Views 1 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.
  • T Offline
    T Offline
    Thanatos
    wrote on last edited by
    #1
    1. After i compiled new Qt release [4.7.1] i configured it in QtCreator [Tools->Options], the way i been always doing [usually on Windows - i am new to Linux but i guess its the same].

    2. [File -> New Project.. -> QML Application] This is the place where the problem appears... Like always Creator generates 2 files.. but it imports "Qt 4.7" and when i change to "QtQuick 1.0" and at Run Setting change path to QML viewer from 4.7.1 dir it seems to work fine but Creator underlines all QML Components with red line as it would not recognize them even i have import statement [import QtQuick 1.0]

    Any ideas ?

    1 Reply Last reply
    0
    • T Offline
      T Offline
      Thanatos
      wrote on last edited by
      #2

      Also at options [File -> New Project.. -> QML Application] i can see that "Qt in PATH <not found>"

      I tried:

      PATH=$PATH:/home/blabla/qt-libs/4.7.1/bin
      export PATH

      but still <not found>

      is there some other way how to set the PATH ?

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tobias.hunger
        wrote on last edited by
        #3

        Thantatos: Just click on the little "plus" right of the "Qt in Path" and add a new Qt version that way. Basically all you need to do is provide a path to QMake.

        No fiddling with your path necessary that way:-)

        You can check the PATH creator sees in the project mode by the way: The build settings can show the complete environment exposed to the project and that by default is very similar to what creator was started with.

        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