summaryrefslogtreecommitdiffstats
path: root/src/Runtime/commoninclude.pri
diff options
context:
space:
mode:
authorMäättä Antti <antti.maatta@qt.io>2017-11-10 15:28:49 +0200
committerAntti Määttä <antti.maatta@qt.io>2018-01-03 08:20:52 +0000
commit1f1d545ea692c7ea6dd052d2fb7df1a98a22d070 (patch)
treeaa858e8efe7d986640246d89334e7abed1a537c5 /src/Runtime/commoninclude.pri
parent18db316919aa01a997be20afa7f63bb5c541000b (diff)
Fix running autotests on CI
Autotests need to build against the q3dsruntime dll and not the static runtime library. Add dll exports to functions needed by the autotests. Also stop using runtime logging in the autotests and use qWarning instead. Change-Id: Ia077e3c171f86f4d4459a109599d20c0ba006e37 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'src/Runtime/commoninclude.pri')
-rw-r--r--src/Runtime/commoninclude.pri3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Runtime/commoninclude.pri b/src/Runtime/commoninclude.pri
index d599771b..03875dd1 100644
--- a/src/Runtime/commoninclude.pri
+++ b/src/Runtime/commoninclude.pri
@@ -8,7 +8,8 @@ contains(TEMPLATE, lib) {
QT += core gui openglextensions
DEFINES += COMPILED_FROM_DSP \
- QT3DSDM_USE_NVLOG QT3DSDM_META_DATA_NO_SIGNALS
+ QT3DSDM_USE_NVLOG QT3DSDM_META_DATA_NO_SIGNALS \
+ QT3DS_AUTOTESTS_ENABLED
INCLUDEPATH += \
$$PWD/Source \