blob: 2b7fb83cdca55f9ae1d5cf2169574d5dabb82ecb (
plain)
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
|
TEMPLATE = app
CONFIG += qt warn_on thread debug
UI_DIR = tmp
MOC_DIR = tmp
OBJECTS_DIR = tmp
INCLUDEPATH += ../../include
DEPENDPATH = $$INCLUDEPATH
DESTDIR = ../bin
unix:LIBS += -lqwtplot3d -L../../lib
linux-g++:QMAKE_CXXFLAGS += -fno-exceptions
win32{
LIBS += ../../lib/qwtplot3d.lib
TEMPLATE = vcapp
DEFINES += QT_DLL QWT3D_DLL
RC_FILE = ../icon.rc
contains (CONFIG, debug) {
QMAKE_LFLAGS += /NODEFAULTLIB:msvcrt
}
}
MYVERSION = $$[QMAKE_VERSION]
ISQT4 = $$find(MYVERSION, ^[2-9])
!isEmpty( ISQT4 ) {
RESOURCES = ../images.qrc
QT += opengl
}
isEmpty( ISQT4 ) {
CONFIG += opengl
}
|