[solved] quick module when install qt-everywhere-opensource-src-5.2.1
-
Hello, everyone!Thank you for your attention. I don't know what the 'module quick' is. I don't know how to build the 'module quick', how to act the module either.
My question is how to build the module quick when installing.
My OS in the virtualbox: "Linux version 3.11.0-18-generic (buildd@orlo) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #32~precise1-Ubuntu SMP Thu Feb 20 17:54:21 UTC 2014"
I downloaded qt-everywhere-opensource-src-5.2.1.tar.gz .
then installed by "shadow build"
from the "http://qt-project.org/doc/qt-5/configure-options.html#including-and-excluding-qt-modules"
mkdir /root/qt-build
cd /root/qt-build
@/root/qt-source/configure -prefix /opt/Qt/qtbase@yes, I configured without any args.Than I get
@
Build options:
Configuration .......... accessibility audio-backend avx c++11 clock-gettime clock-monotonic compile_examples concurrent evdev eventfd freetype full-config getaddrinfo getifaddrs iconv inotify ipv6ifname large-config largefile linuxfb medium-config minimal-config mremap nis no-harfbuzz pcre png posix_fallocate precompile_header qpa qpa reduce_exports reduce_relocations release rpath shared small-config sse2 sse3 sse4_1 sse4_2 ssse3 zlib
Build parts ............ libs tools examples
Mode ................... release
Using C++11 ............ yes
Using PCH .............. yes
Target compiler supports:
SSE2/SSE3/SSSE3 ...... yes/yes/yes
SSE4.1/SSE4.2 ........ yes/yes
AVX/AVX2 ............. yes/noQt modules and options:
Qt D-Bus ............... no
Qt Concurrent .......... yes
Qt GUI ................. yes
Qt Widgets ............. yes
JavaScriptCore JIT ..... yes (To be decided by JavaScriptCore)
QML debugging .......... yes
Use system proxies ..... noSupport enabled for:
Accessibility .......... yes
ALSA ................... no
CUPS ................... no
FontConfig ............. no
FreeType ............... yes
Iconv .................. yes
ICU .................... no
Image formats:
GIF .................. yes (plugin, using bundled copy)
JPEG ................. yes (plugin, using bundled copy)
PNG .................. yes (in QtGui, using bundled copy)
Glib ................... no
GTK theme .............. no
Large File ............. yes
mtdev .................. no
Networking:
getaddrinfo .......... yes
getifaddrs ........... yes
IPv6 ifname .......... yes
OpenSSL .............. no
NIS .................... yes
OpenGL ................. no
OpenVG ................. no
PCRE ................... yes (bundled copy)
pkg-config ............. yes
PulseAudio ............. no
QPA backends:
DirectFB ............. no
EGLFS ................ no
KMS .................. no
LinuxFB .............. yes
XCB .................. no
Session management ..... yes
SQL drivers:
DB2 .................. no
InterBase ............ no
MySQL ................ no
OCI .................. no
ODBC ................. no
PostgreSQL ........... no
SQLite 2 ............. no
SQLite ............... yes (plugin, using bundled copy)
TDS .................. no
udev ................... no
xkbcommon .............. no
zlib ................... yes (bundled copy)
@Then, "make",but I get errors:
@
make[4]: Leaving directory/root/qt-build/qtconnectivity/examples/bluetooth/bttennis' cd scanner/ && ( test -e Makefile || /root/qt-build/qtbase/bin/qmake /root/qt-everywhere-opensource-src-5.2.1/qtconnectivity/examples/bluetooth/scanner/scanner.pro -o Makefile ) && make -f Makefile Project ERROR: Unknown module(s) in QT: quick make[3]: *** [sub-scanner-make_first] Error 3 make[3]: Leaving directory
/root/qt-build/qtconnectivity/examples/bluetooth'
make[2]: *** [sub-bluetooth-make_first] Error 2
make[2]: Leaving directory/root/qt-build/qtconnectivity/examples' make[1]: *** [sub-examples-make_first] Error 2 make[1]: Leaving directory
/root/qt-build/qtconnectivity'
make: *** [module-qtconnectivity-make_first] Error 2
@My question is how to build the module quick when installing. Could you help me?
Thank you very much!! -
You have missing dependencies. Please follow "this guide":http://qt-project.org/wiki/Building_Qt_5_from_Git (just skip the git stuff, since you are using a tarball).
Make sure 3D acceleration is turned on in your virtual machine, Qt 5 requires OpenGL 2.0.
-
I'm glad to hear that, happy further coding!
I have marked the thread as solved.