summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/thread/qthreadonce/qthreadonce.pro
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/corelib/thread/qthreadonce/qthreadonce.pro')
-rw-r--r--tests/auto/corelib/thread/qthreadonce/qthreadonce.pro13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/auto/corelib/thread/qthreadonce/qthreadonce.pro b/tests/auto/corelib/thread/qthreadonce/qthreadonce.pro
new file mode 100644
index 0000000000..d7ef4d4c23
--- /dev/null
+++ b/tests/auto/corelib/thread/qthreadonce/qthreadonce.pro
@@ -0,0 +1,13 @@
+load(qttest_p4)
+SOURCES += tst_qthreadonce.cpp
+QT = core
+
+# Don't use gcc's threadsafe statics
+# Note: some versions of gcc generate invalid code with this option...
+# Some versions of gcc don't even have it, so disable it
+#*-g++*:QMAKE_CXXFLAGS += -fno-threadsafe-statics
+
+# Temporary:
+SOURCES += qthreadonce.cpp
+
+CONFIG += parallel_test