-
Notifications
You must be signed in to change notification settings - Fork 6
/
gui.pri
60 lines (48 loc) · 1.62 KB
/
gui.pri
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
# Profile include file for applications
include( local.pri )
TEMPLATE = app
DESTDIR = ../../bin
MOC_DIR = ./moc
OBJECTS_DIR = ./obj
VER = 10
greaterThan( QT_VERSION, 4.99 ) {
QT += widgets
}
CONFIG += $$DEBUGORRELEASE qt thread warn widgets
unix {
LIBS += -L../../lib -lus_gui -lus_utils
LIBS += -lcrypto
LIBS += $$QWTLIB
##LIBS += -lqwtplot3d-qt4 -lGLU
LIBS += -lqwtplot3d -lGLU
LIBS += -L$$MYSQLDIR -lmysqlclient
DEFINES += INTEL LINUX
DEPENDPATH += ../../gui ../../utils $$QWTPATH/include ..
INCLUDEPATH += $$MYSQLPATH ../$$QWT3D/include
INCLUDEPATH += ../../gui ../../utils $$QWTPATH/include ..
}
win32 {
DEPENDPATH += ../../gui ../../utils $$QWTPATH/src ..
INCLUDEPATH += ../../gui ../../utils $$QWTPATH/src ..
INCLUDEPATH += $$MYSQLPATH/include ../$$QWT3D/include
INCLUDEPATH += $$OPENSSL/include
INCLUDEPATH += $$QTPATH/include
LIBS += $$QWTLIB
LIBS += $$MYSQLLIB
LIBS += -L$$OPENSSL/lib -lssl -lcrypto
LIBS += $$MINGWDIR/lib/libws2_32.a $$MINGWDIR/lib/libadvapi32.a
LIBS += $$MINGWDIR/lib/libgdi32.a $$MINGWDIR/lib/libuser32.a
LIBS += -L../../lib -lus_gui$${VER} -lus_utils$${VER}
DEFINES += INTEL
#QMAKE_LFLAGS += /MACHINE:X86 /INCREMENTAL:NO
#QMAKE_CXXFLAGS_DEBUG += /wd4996
#QMAKE_CXXFLAGS_RELEASE += /wd4996
}
macx {
CONFIG += x86_64
LIBS += -L../../lib -lus_gui -lus_utils
LIBS += $$QWTLIB
LIBS += -L../../lib -lmysqlclient -framework QtOpenGL
DEFINES += MAC OSX
INCLUDEPATH += $$MYSQLPATH/include
}