-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathqviewerwidget.pro
81 lines (58 loc) · 1.65 KB
/
qviewerwidget.pro
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
QT += core
QT += gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
QT += opengl
TARGET = qviewerwidget
TEMPLATE = app
DEFINES += QT_DEPRECATED_WARNINGS
CONFIG += c++17
DESTDIR = ../../bin
win32 {
OSG_LIB_DIRECTORY = $$(OSG)/lib
OSG_INCLUDE_DIRECTORY = $$(OSG)/include
CONFIG(debug, debug|release) {
TARGET = $$join(TARGET,,,_d)
LIBS += -L$$OSG_LIB_DIRECTORY -losgd
LIBS += -L$$OSG_LIB_DIRECTORY -losgViewerd
LIBS += -L$$OSG_LIB_DIRECTORY -losgDBd
LIBS += -L$$OSG_LIB_DIRECTORY -lOpenThreadsd
LIBS += -L$$OSG_LIB_DIRECTORY -losgGAd
LIBS += -L$$OSG_LIB_DIRECTORY -losgQt5d
} else {
LIBS += -L$$OSG_LIB_DIRECTORY -losg
LIBS += -L$$OSG_LIB_DIRECTORY -losgViewer
LIBS += -L$$OSG_LIB_DIRECTORY -losgDB
LIBS += -L$$OSG_LIB_DIRECTORY -lOpenThreads
LIBS += -L$$OSG_LIB_DIRECTORY -losgGA
LIBS += -L$$OSG_LIB_DIRECTORY -losgQt5
}
INCLUDEPATH += $$OSG_INCLUDE_DIRECTORY
}
unix {
CONFIG(debug, debug|release) {
TARGET = $$join(TARGET,,,_d)
LIBS += -losgd
LIBS += -losgViewerd
LIBS += -losgDBd
LIBS += -lOpenThreadsd
LIBS += -losgGAd
LIBS += -losgQt5d
} else {
LIBS += -losg
LIBS += -losgViewer
LIBS += -losgDB
LIBS += -lOpenThreads
LIBS += -losgGA
LIBS += -losgQt5
}
}
INCLUDEPATH += ./include
SOURCES += $$files(./src/*.cpp)
HEADERS += $$files(./include/*.h) \
cloud_geometry.h \
cloud_io.h \
cloud_geometry.h \
cloud_io.h \
forms/settingsdialog.h
FORMS += $$files(./forms/*.ui) \
forms/settingsdialog.ui