diff options
Diffstat (limited to 'mkspecs')
-rw-r--r-- | mkspecs/features/qt_helper_lib.prf | 27 | ||||
-rw-r--r-- | mkspecs/macx-ios-clang/features/qt.prf | 2 |
2 files changed, 28 insertions, 1 deletions
diff --git a/mkspecs/features/qt_helper_lib.prf b/mkspecs/features/qt_helper_lib.prf new file mode 100644 index 0000000000..4af5bcaabb --- /dev/null +++ b/mkspecs/features/qt_helper_lib.prf @@ -0,0 +1,27 @@ +# +# W A R N I N G +# ------------- +# +# This file is not part of the Qt API. It exists purely as an +# implementation detail. It may change from version to version +# without notice, or even be removed. +# +# We mean it. +# + +load(qt_build_paths) + +TEMPLATE = lib +CONFIG -= qt + +contains(QT_CONFIG, debug_and_release): CONFIG += debug_and_release +contains(QT_CONFIG, build_all): CONFIG += build_all + +DESTDIR = $$MODULE_BASE_OUTDIR/lib +DLLDESTDIR = $$MODULE_BASE_OUTDIR/bin + +# Static builds always need to be installed, as the convenience libraries +# are not linked to the final library in this case. +installed|static: load(qt_installs) + +TARGET = $$qtLibraryTarget($$TARGET) diff --git a/mkspecs/macx-ios-clang/features/qt.prf b/mkspecs/macx-ios-clang/features/qt.prf index 04ebb1208a..a5b00377ee 100644 --- a/mkspecs/macx-ios-clang/features/qt.prf +++ b/mkspecs/macx-ios-clang/features/qt.prf @@ -15,7 +15,7 @@ equals(TEMPLATE, app):contains(QT, gui(-private)?) { # We do link and dependency resolution for the platform plugin # manually, since we know we always need the plugin, so we don't # need to generate an import for it. - CONFIG -= import_qpa_plugin + QTPLUGIN.platforms = - !no_main_wrapper { # We use ld to rename the _main symbol to _qt_main, so that we don't get a symbol clash |