mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
Added qmake project files / standardized #includes
This commit is contained in:
@@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
35
samples/com_client/com_client.pro
Normal file
35
samples/com_client/com_client.pro
Normal 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
|
||||
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user