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. module "QtQuick" version 2.12 is not installed
Forum Updated to NodeBB v4.3 + New Features

module "QtQuick" version 2.12 is not installed

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
8 Posts 3 Posters 720 Views
  • 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.
  • A Offline
    A Offline
    aim0d
    wrote on last edited by
    #1

    I'm working on ubuntu 18.04 and I can work only till Qt 5.0.3 because higher version doesnt start.

    I never worked with Qt so I tried creating a new project with "Application (Qt Quick) Empty" and if I immediatly run the project its gives me this error: module "QtQuick" version 2.12 is not installed

    In the section Tools -> Options -> Kits -> Qt Versions I have the 5.9.5 version and I know the QtQuick version I need is 2.9

    Now, by looking online I saaw I heve to manually installed QtQuick but I dont know how to do that.
    Can someone please guide me in how to do it?
    Thanks!

    jsulmJ 1 Reply Last reply
    0
    • A aim0d

      I'm working on ubuntu 18.04 and I can work only till Qt 5.0.3 because higher version doesnt start.

      I never worked with Qt so I tried creating a new project with "Application (Qt Quick) Empty" and if I immediatly run the project its gives me this error: module "QtQuick" version 2.12 is not installed

      In the section Tools -> Options -> Kits -> Qt Versions I have the 5.9.5 version and I know the QtQuick version I need is 2.9

      Now, by looking online I saaw I heve to manually installed QtQuick but I dont know how to do that.
      Can someone please guide me in how to do it?
      Thanks!

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @aim0d said in module "QtQuick" version 2.12 is not installed:

      I have the 5.9.5

      Above you wrote that you need Qt 5.0.3? So, did you actually install that Qt version?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • A Offline
        A Offline
        aim0d
        wrote on last edited by
        #3

        @jsulm Yes, I downloaded from here -> https://download.qt.io/official_releases/qtcreator/5.0/
        Is it correct? I'm new to all this stuff and kinda lost

        (I saw you answered my comment in an other post, this topics it's related, didnt know I could actually do a post myself)

        jsulmJ 1 Reply Last reply
        0
        • A aim0d

          @jsulm Yes, I downloaded from here -> https://download.qt.io/official_releases/qtcreator/5.0/
          Is it correct? I'm new to all this stuff and kinda lost

          (I saw you answered my comment in an other post, this topics it's related, didnt know I could actually do a post myself)

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @aim0d said in module "QtQuick" version 2.12 is not installed:

          Is it correct?

          Yes.
          Did you also install it then? If so you need to create a new Kit in QtCreator to use this Qt version.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • A Offline
            A Offline
            aim0d
            wrote on last edited by
            #5

            Yes, I installed it!
            I also have already an other kit with versoine 5.10
            But when I create a new project in the Details the minimal required QT version I can select it's 5.12; but in Tools -> Options -> Kits -> Qt Versions the max versione its 5.9

            I dont understand whats' wrong

            jsulmJ 1 Reply Last reply
            0
            • A aim0d

              Yes, I installed it!
              I also have already an other kit with versoine 5.10
              But when I create a new project in the Details the minimal required QT version I can select it's 5.12; but in Tools -> Options -> Kits -> Qt Versions the max versione its 5.9

              I dont understand whats' wrong

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @aim0d said in module "QtQuick" version 2.12 is not installed:

              But when I create a new project

              What kind of project do you create?
              And again: you need a Kit with Qt 5.0.3 if you want to use it.

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • J.HilkJ Offline
                J.HilkJ Offline
                J.Hilk
                Moderators
                wrote on last edited by
                #7

                I think you two are talking past each other :D

                first off, @aim0d , it is essential that you understand that there are to versions of Qt you're talking about.

                the 5.0.3 one, which seems to be the version of QtCreator (the IDE where you write your code with) you're using and the version of Qt Library wich is apparently version 5.9.5

                If you wan't to use QtQuick 2.12 you will have to install the QtLibrary version 5.12.X

                My question now is, do you replay need QtQuick 2.12 ? why don't you use the 5.9 kit and use QtQuick 2.9 ?

                Problem solved.

                or alternatively use the maintenance tool and install the precompiled libraries for 5.12, if thats possible for such an old ubuntu version. If it's not available you'll have to compile it yourself.


                Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                Q: What's that?
                A: It's blue light.
                Q: What does it do?
                A: It turns blue.

                1 Reply Last reply
                1
                • A Offline
                  A Offline
                  aim0d
                  wrote on last edited by
                  #8

                  @J-Hilk By groping I found that the QtQuick I need to use with my setup was 2.3, but thanks for explain me the difference between versions

                  1 Reply Last reply
                  1

                  • Login

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