diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-06-11 11:16:42 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-06-11 11:16:42 +0200 |
commit | ae97d11589dd03edeea0475163e6110869143b35 (patch) | |
tree | 15f79917b0e303445976028cb541668a1ebb67f1 /tests/auto/corelib/time/qdatetime/qdatetime.pro | |
parent | 6e42979518aa0697ff31706616ddbc05486f1864 (diff) | |
parent | 4e875d988e99df57c439f481e258e2138fdb9410 (diff) |
Merge "Merge remote-tracking branch 'origin/dev' into wip/qt6"
Diffstat (limited to 'tests/auto/corelib/time/qdatetime/qdatetime.pro')
-rw-r--r-- | tests/auto/corelib/time/qdatetime/qdatetime.pro | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/auto/corelib/time/qdatetime/qdatetime.pro b/tests/auto/corelib/time/qdatetime/qdatetime.pro new file mode 100644 index 0000000000..742eb47075 --- /dev/null +++ b/tests/auto/corelib/time/qdatetime/qdatetime.pro @@ -0,0 +1,17 @@ +CONFIG += testcase +TARGET = tst_qdatetime +QT = core-private testlib +SOURCES = tst_qdatetime.cpp + +# For some reason using optimization here triggers a compiler issue, which causes an exception +# However, the code is correct +msvc { + !build_pass:message ( "Compiler issue, removing -O1 flag" ) + QMAKE_CFLAGS_RELEASE -= -O1 + QMAKE_CXXFLAGS_RELEASE -= -O1 +} + +mac { + OBJECTIVE_SOURCES += tst_qdatetime_mac.mm + LIBS += -framework Foundation +} |