Compile qt w/o examples 5.3
-
Compile qt w/o examples, is there a way with 5.3? I found this:
https://qt-project.org/wiki/How_to_prevent_Qt_from_compiling_code_examples
But it does not seem to work for 5.3. I'm working in both OS X and Windows.
-
[quote author="jocala" date="1402091702"]Compile qt w/o examples, is there a way with 5.3? I found this:
https://qt-project.org/wiki/How_to_prevent_Qt_from_compiling_code_examples
But it does not seem to work for 5.3. I'm working in both OS X and Windows.[/quote]That link is for Qt 4. For Qt 5, see http://qt-project.org/wiki/Building_Qt_5_from_Git
The flag to disable examples in configure is
@
-nomake examples
@ -
You can also skip running tests:
@
-nomake tests
@And you can skip any Qt module (repo) using -skip:
@
-skip webkit -skip qtquick1
@ -
Very valuable info, thanks!