summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKurt Pattyn <pattyn.kurt@gmail.com>2013-08-25 15:36:43 +0200
committerKurt Pattyn <pattyn.kurt@gmail.com>2013-08-25 15:36:43 +0200
commitd3939e768ba559f8bc91608c06a754d266e0ff51 (patch)
tree18bb3f05156c8b0d1f16ef39b0717e5a626f2a40 /tests
parentca205818b4981dc14ae191f7085c4997b20d55cb (diff)
downloadqtwebsockets-d3939e768ba559f8bc91608c06a754d266e0ff51.tar.gz
Cleaned up the project files
Diffstat (limited to 'tests')
-rw-r--r--tests/unittests.pro29
1 files changed, 6 insertions, 23 deletions
diff --git a/tests/unittests.pro b/tests/unittests.pro
index fb863ab..cfdbb30 100644
--- a/tests/unittests.pro
+++ b/tests/unittests.pro
@@ -1,27 +1,16 @@
cache()
-# Determine the platform: if using a cross-compiler -> add it to the config flags.
-!contains(QMAKE_CXX, g++) {
- CONFIG += embedded
-}
QT += core network
-CONFIG += c++11
-embedded { # Vanilla Qt libraries are differently deployed then the dev libraries of Debian.
- QT += multimedia
-}
-CONFIG += mobility
-MOBILITY = multimedia
-
-unix:!macx {
- QT += dbus
-}
+TARGET = unittests
+CONFIG += console
+CONFIG += c++11
+CONFIG -= app_bundle
+TEMPLATE = app
include(../src/qwebsocket.pri)
-#include(../source/buildsystem/buildsystem.pri)
-
# Remove the main.cpp file from the sources.
S = $$SOURCES
SOURCES = \
@@ -35,7 +24,7 @@ for(F, S) {
SOURCES += \
main.cpp \
- tst_websockets.cpp
+ tst_websockets.cpp
HEADERS += \
unittests.h
@@ -45,10 +34,4 @@ DEPENDPATH +=
QT += testlib
-TARGET = unittests
-CONFIG += console
-CONFIG -= app_bundle
-
-TEMPLATE = app
-
DEFINES += SRCDIR=\\\"$$PWD/\\\"