diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-09-10 11:51:23 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-09-11 00:40:46 +0200 |
commit | 069fc33e8a0a092fe0283b5073262fab14f82646 (patch) | |
tree | 57a87708702d649ffc12ba6e0ec36b2631103bbb /mkspecs | |
parent | 6ae7a02104631a2234c475575ae15ca79bef14f9 (diff) |
Remove the -no-compile-examples configure switch
If '-make examples -no-compile-examples' was specified, sources of Qt's
examples would be installed, but the examples would not be built.
This switch has always been a source for confusion and is only
interesting for distributors, who can just package the examples
directory tree.
Change-Id: I0291d70e4951d98b553a4abf217db49d05316d3a
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'mkspecs')
-rw-r--r-- | mkspecs/features/qt_example_installs.prf | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/mkspecs/features/qt_example_installs.prf b/mkspecs/features/qt_example_installs.prf index 15b373ba40..a71966b12c 100644 --- a/mkspecs/features/qt_example_installs.prf +++ b/mkspecs/features/qt_example_installs.prf @@ -135,15 +135,4 @@ equals(TEMPLATE, app)|equals(TEMPLATE, lib) { } } -!equals(TEMPLATE, subdirs):!compile_examples { - TEMPLATE = aux - CONFIG -= have_target qt staticlib dll - SOURCES = - OBJECTIVE_SOURCES = - INSTALLS -= target - QMAKE_SUBSTITUTES = - QMAKE_EXTRA_COMPILERS = - COPIES = -} else { - CONFIG += relative_qt_rpath # Examples built as part of Qt should be relocatable -} +CONFIG += relative_qt_rpath # Examples built as part of Qt should be relocatable |