From 9ab41425519510b5bfbe93ac916e3f40aa0e4510 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Fri, 25 Apr 2014 14:11:49 +0200 Subject: centralize auxiliary lib creation this covers convenience libraries which are linked into dlls (if we are not building statically) and "proper" (installed) builds of 3rdparty code. Change-Id: I2f00248c0baa0e73346e477724bf49bbc62ba925 Reviewed-by: Konstantin Ritt Reviewed-by: Laszlo Agocs Reviewed-by: Friedemann Kleint Reviewed-by: Joerg Bornemann --- mkspecs/features/qt_helper_lib.prf | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 mkspecs/features/qt_helper_lib.prf (limited to 'mkspecs') diff --git a/mkspecs/features/qt_helper_lib.prf b/mkspecs/features/qt_helper_lib.prf new file mode 100644 index 0000000000..cb7bc2c8a8 --- /dev/null +++ b/mkspecs/features/qt_helper_lib.prf @@ -0,0 +1,25 @@ +# +# 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 + +installed: load(qt_installs) + +TARGET = $$qtLibraryTarget($$TARGET) -- cgit v1.2.3