diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2019-02-18 14:22:39 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2019-02-19 09:29:29 +0000 |
commit | 08e1fbbbfa8760e94922d69ab7397af64370081a (patch) | |
tree | 6aa2f780b4d262f0b3040155b2de9fee1d59aebb /tests/auto/profilewriter | |
parent | 29492ecf2494d875e3e2fa4951326aed275a3033 (diff) | |
download | qt-creator-08e1fbbbfa8760e94922d69ab7397af64370081a.tar.gz |
qmake: add $$read_registry() function
Fixes: QTCREATORBUG-21973
Written-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
(cherry-picked from qtbase/f89ac0101ad4a6cb5339a3bfe132aad897eafc9d)
Change-Id: I6f67eec7c715686074dd3bdc121170c26daf56da
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'tests/auto/profilewriter')
-rw-r--r-- | tests/auto/profilewriter/profilewriter.qbs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/auto/profilewriter/profilewriter.qbs b/tests/auto/profilewriter/profilewriter.qbs index 7091472f30..a6fb8ca879 100644 --- a/tests/auto/profilewriter/profilewriter.qbs +++ b/tests/auto/profilewriter/profilewriter.qbs @@ -18,7 +18,8 @@ QtcAutotest { "qmakeevaluator.h", "qmakeevaluator_p.h", "qmakeevaluator.cpp", "qmakeglobals.h", "qmakeglobals.cpp", "qmakeparser.h", "qmakeparser.cpp", - "qmakevfs.h", "qmakevfs.cpp" + "qmakevfs.h", "qmakevfs.cpp", + "registry_p.h", "registry.cpp", ] } Group { @@ -27,4 +28,8 @@ QtcAutotest { } cpp.includePaths: base.concat([proParserGroup.prefix]) cpp.defines: base.concat("QT_USE_FAST_OPERATOR_PLUS") + Properties { + condition: qbs.targetOS.contains("windows") + cpp.dynamicLibraries: "advapi32" + } } |