aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/unittest/unittest.pro
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@qt.io>2020-06-05 19:55:10 +0200
committerMarco Bubke <marco.bubke@qt.io>2020-06-09 14:48:27 +0000
commit06866c3ee9de97cf518e1a20f28a8eadb35884ef (patch)
tree4925adbf83a258b43c6b6d7b4642a7b5ce7b79db /tests/unit/unittest/unittest.pro
parentdfb61968e34afb98847aae5953f598aff1923030 (diff)
Sqlite: Use a more efficient update hook
Change-Id: Ic6df1f4ba6b914c7751faf7cf89083fa50a92793 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'tests/unit/unittest/unittest.pro')
-rw-r--r--tests/unit/unittest/unittest.pro9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/unit/unittest/unittest.pro b/tests/unit/unittest/unittest.pro
index 03f04f3982..73df83e471 100644
--- a/tests/unit/unittest/unittest.pro
+++ b/tests/unit/unittest/unittest.pro
@@ -1,9 +1,11 @@
INCLUDEPATH += ../mockup
QT += core network testlib widgets
-CONFIG += console c++14 testcase object_parallel_to_source
+CONFIG += console c++14 testcase
CONFIG -= app_bundle shared
+QTC_UNITTEST_BUILD_CPP_PARSER = $$(QTC_UNITTEST_BUILD_CPP_PARSER)
+
include(gmock_dependency.pri)
include(clang_dependency.pri)
include(creator_dependency.pri)
@@ -11,8 +13,6 @@ include(benchmark_dependency.pri)
requires(isEmpty(QTC_CLANG_BUILDMODE_MISMATCH))
-OBJECTS_DIR = $$OUT_PWD/obj # workaround for qmake bug in object_parallel_to_source
-
!msvc:force_debug_info:QMAKE_CXXFLAGS += -fno-omit-frame-pointer
DEFINES += \
@@ -66,7 +66,6 @@ SOURCES += \
lastchangedrowid-test.cpp \
lineprefixer-test.cpp \
locatorfilter-test.cpp \
- matchingtext-test.cpp \
mimedatabase-utilities.cpp \
pchmanagerclientserverinprocess-test.cpp \
pchmanagerclient-test.cpp \
@@ -133,6 +132,8 @@ SOURCES += \
sqlstatementbuilder-test.cpp \
createtablesqlstatementbuilder-test.cpp
+!isEmpty(QTC_UNITTEST_BUILD_CPP_PARSER):matchingtext-test.cpp
+
!isEmpty(LIBCLANG_LIBS) {
SOURCES += \
activationsequencecontextprocessor-test.cpp \