Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Project ERROR: Unknown module(s) in QT: quick

Project ERROR: Unknown module(s) in QT: quick

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
ubuntux86qt5.7.1linux
17 Posts 5 Posters 21.2k 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.
  • J JiujiuTong

    @ambershark
    well, I'm sure both QT and ubuntu are clearly new. i have recalculated the source QT zip file, the Md5sum is ok. the phenomenon happened in both two machines(both are new install with ubuntu 16.04.2 desktop i386).
    the step is simple, extract file qt-everywhere-opensource-src-5.7.1
    then enter the directory, run ./configure with no options,
    then run sudo make && sudo make install ,the error happens.
    may the issue happen for missing some packs(new install OS)?

    J Offline
    J Offline
    JiujiuTong
    wrote on last edited by JiujiuTong
    #8

    @JiujiuTong said in qt make error on ubuntu x86:

    @ambershark
    well, I'm sure both QT and ubuntu are clearly new. i have recalculated the source QT zip file, the Md5sum is ok. the phenomenon happened in both two machines(both are new install with ubuntu 16.04.2 desktop i386).
    the step is simple, extract file qt-everywhere-opensource-src-5.7.1
    then enter the directory, run ./configure with no options,
    then run sudo make && sudo make install ,the error happens.
    may the issue happen for missing some packs(new install OS)?
    @ambershark @jsulm
    another info, it seems that the ubuntu 16.04.2 i386 is published with QT4, for i can run qmake in the shell after installation finished.may it be the root cause? if so how can i avoid it ? many thanks!

    jsulmJ 1 Reply Last reply
    0
    • J JiujiuTong

      @JiujiuTong said in qt make error on ubuntu x86:

      @ambershark
      well, I'm sure both QT and ubuntu are clearly new. i have recalculated the source QT zip file, the Md5sum is ok. the phenomenon happened in both two machines(both are new install with ubuntu 16.04.2 desktop i386).
      the step is simple, extract file qt-everywhere-opensource-src-5.7.1
      then enter the directory, run ./configure with no options,
      then run sudo make && sudo make install ,the error happens.
      may the issue happen for missing some packs(new install OS)?
      @ambershark @jsulm
      another info, it seems that the ubuntu 16.04.2 i386 is published with QT4, for i can run qmake in the shell after installation finished.may it be the root cause? if so how can i avoid it ? many thanks!

      jsulmJ Online
      jsulmJ Online
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #9

      @JiujiuTong said in qt make error on ubuntu x86:

      another info, it seems that the ubuntu 16.04.2 i386 is published with QT4, for i can run qmake in the shell after installation finished.may it be the root cause? if so how can i avoid it ? many thanks!

      I'm not sure I understand what you mean. It doesn't matter what Ubuntu installs, just call qmake YOU installed (provide whole path to it not just qmake).

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

      J 1 Reply Last reply
      0
      • jsulmJ jsulm

        @JiujiuTong said in qt make error on ubuntu x86:

        another info, it seems that the ubuntu 16.04.2 i386 is published with QT4, for i can run qmake in the shell after installation finished.may it be the root cause? if so how can i avoid it ? many thanks!

        I'm not sure I understand what you mean. It doesn't matter what Ubuntu installs, just call qmake YOU installed (provide whole path to it not just qmake).

        J Offline
        J Offline
        JiujiuTong
        wrote on last edited by
        #10

        @jsulm
        as @ambershark refer :
        Are you perchance mixing a system level Qt with the one you are trying to build? That happens a lot, especially in linux.
        i find ubuntu has it's own QT4 ,I know that if i want use the QT version i installed, i should run the absolute path of new qmake.
        the question is whether the qt make error (before i install new QT,just after configure QT project) has any relative with QT4 installed in OS? when this issue happens, there is no new QT version.

        jsulmJ 1 Reply Last reply
        0
        • J JiujiuTong

          @jsulm
          as @ambershark refer :
          Are you perchance mixing a system level Qt with the one you are trying to build? That happens a lot, especially in linux.
          i find ubuntu has it's own QT4 ,I know that if i want use the QT version i installed, i should run the absolute path of new qmake.
          the question is whether the qt make error (before i install new QT,just after configure QT project) has any relative with QT4 installed in OS? when this issue happens, there is no new QT version.

          jsulmJ Online
          jsulmJ Online
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #11

          @JiujiuTong In the build log you posted I cannot see anything related to Qt 4. The problem is just that Qt quick was not build for some reason.
          I have Qt 5 sources here and see:

          qtquick1
          qtquickcontrols
          qtquickcontrols2 
          

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

          J 1 Reply Last reply
          0
          • jsulmJ jsulm

            @JiujiuTong In the build log you posted I cannot see anything related to Qt 4. The problem is just that Qt quick was not build for some reason.
            I have Qt 5 sources here and see:

            qtquick1
            qtquickcontrols
            qtquickcontrols2 
            
            J Offline
            J Offline
            JiujiuTong
            wrote on last edited by JiujiuTong
            #12

            @jsulm
            it's strange ,my Qt sources qt-everywhere-opensource-src-5.7.1 only have:
            qtquickcontrols
            qtquickcontrols2

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #13

              Hi,

              QtQuick1 has been deprecated in Qt 5.5 and remove from the pre-built package in Qt 5.6

              However you can still clone the source from https://code.qt.io

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              J 1 Reply Last reply
              0
              • SGaistS SGaist

                Hi,

                QtQuick1 has been deprecated in Qt 5.5 and remove from the pre-built package in Qt 5.6

                However you can still clone the source from https://code.qt.io

                J Offline
                J Offline
                JiujiuTong
                wrote on last edited by JiujiuTong
                #14

                @SGaist
                thank you !
                another question:
                as i have sucessfully installed qt5.7 version(skip some module), but there is no available qtcreator 4.0 package for linux x86, qtcreator installed by newest online-installer is older version v3.5(maybe).
                I mean my ENV is qtcreator v3.5 + qt5.7, can it work properly ? the default package qt5.7 downloaded from qt for linux x64,it contains qt5.7+qtcreator v4.2.

                jsulmJ 1 Reply Last reply
                0
                • J JiujiuTong

                  @SGaist
                  thank you !
                  another question:
                  as i have sucessfully installed qt5.7 version(skip some module), but there is no available qtcreator 4.0 package for linux x86, qtcreator installed by newest online-installer is older version v3.5(maybe).
                  I mean my ENV is qtcreator v3.5 + qt5.7, can it work properly ? the default package qt5.7 downloaded from qt for linux x64,it contains qt5.7+qtcreator v4.2.

                  jsulmJ Online
                  jsulmJ Online
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #15

                  @JiujiuTong Yes, it will work

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

                  J 1 Reply Last reply
                  0
                  • jsulmJ jsulm

                    @JiujiuTong Yes, it will work

                    J Offline
                    J Offline
                    JiujiuTong
                    wrote on last edited by
                    #16

                    @jsulm
                    well ,Thank you!

                    1 Reply Last reply
                    0
                    • K Offline
                      K Offline
                      kutluyigitturk
                      wrote on last edited by
                      #17

                      Found the solution, install qtdeclarative5-dev package;

                      Type in terminal; sudo apt-get install qtdeclarative5-dev

                      1 Reply Last reply
                      2

                      • Login

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