1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
|
#-------------------------------------------------
#
# Project created by QtCreator 2016-02-09T19:09:57
#
#-------------------------------------------------
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets serialport
include(../../RTKLib.pri)
lessThan(QT_MAJOR_VERSION, 5) {
LIBS += -lqextserialport-1.2
DEFINES += QEXTSERIALPORT
}
INCLUDEPATH += ../../src/ ../appcmn_qt
linux{
RTKLIB =../../src/libRTKLib.a
LIBS += -lpng $${RTKLIB}
}
win32 {
CONFIG(debug) {
RTKLIB = ../../src/debug/libRTKLib.a
} else {
RTKLIB =../../src/release/libRTKLib.a
}
LIBS+= $${RTKLIB} -lWs2_32 -lwinmm
}
PRE_TARGETDEPS = $${RTKLIB}
TARGET = strsvr_qt
TEMPLATE = app
SOURCES += \
convdlg.cpp \
strsvr.cpp \
svrmain.cpp \
svroptdlg.cpp \
../appcmn_qt/aboutdlg.cpp \
../appcmn_qt/tcpoptdlg.cpp \
../appcmn_qt/serioptdlg.cpp \
../appcmn_qt/cmdoptdlg.cpp \
../appcmn_qt/console.cpp \
../appcmn_qt/fileoptdlg.cpp \
../appcmn_qt/ftpoptdlg.cpp \
../appcmn_qt/refdlg.cpp \
../appcmn_qt/keydlg.cpp
HEADERS += \
convdlg.h \
svrmain.h \
svroptdlg.h \
../appcmn_qt/tcpoptdlg.h \
../appcmn_qt/serioptdlg.h \
../appcmn_qt/aboutdlg.h \
../appcmn_qt/cmdoptdlg.h \
../appcmn_qt/console.h \
../appcmn_qt/fileoptdlg.h \
../appcmn_qt/ftpoptdlg.h \
../appcmn_qt/refdlg.h \
../appcmn_qt/keydlg.h
FORMS += \
convdlg.ui \
svrmain.ui \
svroptdlg.ui \
../appcmn_qt/tcpoptdlg.ui \
../appcmn_qt/serioptdlg.ui \
../appcmn_qt/aboutdlg.ui \
../appcmn_qt/cmdoptdlg.ui \
../appcmn_qt/console.ui \
../appcmn_qt/fileoptdlg.ui \
../appcmn_qt/ftpoptdlg.ui \
../appcmn_qt/refdlg.ui \
../appcmn_qt/keydlg.ui
RESOURCES += \
strsvr_qt.qrc
RC_FILE = strsvr_qt.rc
|