Project ERROR: Unknown module(s) in QT: quick
-
@JiujiuTong This is odd. Qt 5.7 definitely comes with Qt Quick.
Are you perchance mixing a system level Qt with the one you are trying to build? That happens a lot, especially in linux.
wrote on 17 Mar 2017, 08:29 last edited by 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)? -
@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)?wrote on 17 Mar 2017, 08:34 last edited by 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! -
@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!@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).
-
@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).
wrote on 17 Mar 2017, 09:24 last edited by@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. -
@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.@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
-
@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
wrote on 18 Mar 2017, 06:34 last edited by JiujiuTong@jsulm
it's strange ,my Qt sources qt-everywhere-opensource-src-5.7.1 only have:
qtquickcontrols
qtquickcontrols2 -
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
-
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
wrote on 20 Mar 2017, 01:46 last edited by 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. -
@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.@JiujiuTong Yes, it will work
-
@JiujiuTong Yes, it will work
wrote on 20 Mar 2017, 05:19 last edited by@jsulm
well ,Thank you! -
wrote on 9 Aug 2021, 07:30 last edited by
Found the solution, install qtdeclarative5-dev package;
Type in terminal; sudo apt-get install qtdeclarative5-dev