Cleaned up the project files
authorKurt Pattyn <pattyn.kurt@gmail.com>
Sun, 25 Aug 2013 13:36:43 +0000 (15:36 +0200)
committerKurt Pattyn <pattyn.kurt@gmail.com>
Sun, 25 Aug 2013 13:36:43 +0000 (15:36 +0200)
examples/echoclient/echoclient.pro
examples/echoserver/echoserver.pro
tests/unittests.pro

index e69a6a0..ad4daff 100644 (file)
@@ -9,7 +9,8 @@ TEMPLATE = app
 
 include(../../src/qwebsocket.pri)
 
-SOURCES += main.cpp \
+SOURCES += \
+       main.cpp \
        echoclient.cpp
 
 HEADERS += \
index 04880ff..8e5f08d 100644 (file)
@@ -9,7 +9,8 @@ TEMPLATE = app
 
 include(../../src/qwebsocket.pri)
 
-SOURCES += main.cpp \
+SOURCES += \
+       main.cpp \
        echoserver.cpp
 
 HEADERS += \
index fb863ab..cfdbb30 100644 (file)
@@ -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/\\\"