Added qmake project files / standardized #includes

This commit is contained in:
Roland Winklmeier
2013-03-16 18:44:46 +01:00
parent 9b79949eb4
commit f6daa0623e
43 changed files with 577 additions and 61 deletions

View File

@@ -1,5 +1,5 @@
#include <blackmisc/message_system.h>
#include <blackmisc/com_client.h>
#include "blackmisc/message_system.h"
#include "blackmisc/com_client.h"
class Client : public QObject
{
@@ -16,4 +16,4 @@ protected slots:
private:
BlackMisc::CComClient comclient;
};
};

View File

@@ -0,0 +1,35 @@
QT += core network
QT -= gui
TARGET = com_client
CONFIG += console
CONFIG -= app_bundle
TEMPLATE = app
DEPENDPATH += . ../../src
INCLUDEPATH += . ../../src
SOURCES += main.cpp\
client.cpp
HEADERS += client.h
win32-msvc* {
PRE_TARGETDEPS += ../../lib/blackmisc.lib \
LIBS += ../../lib/blackmisc.lib \
}
!win32-msvc* {
PRE_TARGETDEPS += ../../lib/libblackmisc.a \
LIBS += ../../lib/libblackmisc.a \
}
DESTDIR = ../../bin

View File

@@ -1,6 +1,6 @@
#include <QApplication>
#include <QCoreApplication>
#include <blackmisc/context.h>
#include "blackmisc/context.h"
#include "client.h"
using namespace BlackMisc;
@@ -8,7 +8,7 @@ using namespace BlackMisc;
int main(int argc, char *argv[])
{
BlackMisc::CApplicationContext myApplicationContext;
QApplication a(argc, argv);
QCoreApplication a(argc, argv);
Client client;