Solved Error on ./configure script in qt-everywhere-opensource-src-5.9.6
-
You can check out what the proper options is by
./configure -help
Under windows is says:
Database options: -sql-<driver> ........ Enable SQL <driver> plugin. Supported drivers: db2 ibase mysql oci odbc psql sqlite2 sqlite tds [all auto] -sqlite .............. Select used sqlite3 [system/qt]
I would use the prefix "-no" which would be "-no-sql-mysql" according to this help text.
-
To shorten things, start by only building qtbase, then you can continue with the other modules.
-
Ok, now the building of qt works!
But to get the correct Parameters/arguments for adding or removing
modules likes a little as a quesswork.For example in the documentation was the example
"./configure -skip qtconnectivity"
where "qtconnectivity" belongs to the modules "Qt NFC" and "Qt Bluetooth" (as descriped in the doc by the skip example)
But where could i find, that "qtconnectivity" was the right argument to
remove connections?Neither the terminal Output of "./configure -help" nor the terminal
Output of the configure script, wenn running:
Build type: linux-g++ (x86_64, CPU features: mmx sse sse2)
Configuration: use_gold_linker sse2 sse3 ssse3 sse4_1 sse4_2 avx avx2 avx512f avx512bw avx512cd avx512dq avx512er avx512ifma avx512pf avx512vbmi avx512vl compile_examples enable_new_dtags f16c largefile precompile_header shared rpath release c++11 c++14 c++1z concurrent dbus no-pkg-config reduce_exports reduce_relocations stl
Build options:
Mode ................................... release
Optimize release build for size ........ no
Building shared libraries .............. yes
Using C++ standard ..................... C++1z
Using ccache ........................... no
Using gold linker ...................... yes
Using new DTAGS ........................ yes
Using precompiled headers .............. yes
Using LTCG ............................. no
Target compiler supports:
SSE .................................. SSE2 SSE3 SSSE3 SSE4.1 SSE4.2
AVX .................................. AVX AVX2 F16C
AVX512 ............................... F ER CD PF DQ BW VL IFMA VBMI
Build parts ............................ libs examples tools
Qt modules and options:
Qt Concurrent .......................... yes
....(an so on) contains the term "qtconnectivity".
Is there no complete list of all arguments of skip and
the belonging modules and a list of arguments off
modules which ar by -no-..... excluded?
For example:- skip
Connections (Bluetooth, NFC,..) - "qtconnectivity"
Speech - "qtspeech"
Developement Tools - "devtools"
Thank you and best regards
- skip
-
IIRC, the skip argument matches the name of the modules you can find as sub-folders in the Qt 5 root folder.
-
Thank you very much. This answer is very helpfully for me.