-
Notifications
You must be signed in to change notification settings - Fork 7
/
map.pro
123 lines (109 loc) · 4.71 KB
/
map.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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
#-------------------------------------------------
#
# Project created by QtCreator 2019-12-15T19:50:56
#
#-------------------------------------------------
QT += core gui xml sql svg
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets opengl
TARGET = map
TEMPLATE = app
# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
CONFIG += c++17
INCLUDEPATH += \
$$(OSG_3RPARTY_DIR)/include \
$$(OSG_DIR)/include \
$$(OSGEARTH_DIR)/include
LIBS += \
-L$$(OSG_3RPARTY_DIR)/lib \
-lfreetyped -lgdal_i -lgeos -lgeos_cd -lgeosd -lglut32 -ljpeg -llibcurl_imp -llibgeosd \
-llibpng16 -llibpng16_staticd -llibpng16d -logr -lproj_4_9_d -ltiffd -lzlibd -lzlibstaticd \
-L$$(OSGEARTH_DIR)/lib \
-losgEarthd -losgEarthAnnotationd -losgEarthFeaturesd -losgEarthQt5d -losgEarthSplatd -losgEarthSymbologyd -losgEarthUtild \
-L$$(OSG_DIR)/lib \
-lOpenThreadsd -losgd -lOsgAnimationd -losgDBd -losgFXd -losgGAd -losgManipulatord -losgParticled -losgPresentationd \
-losgQt5d -losgShadowd -losgSimd -losgTerraind -losgTextd -losgUId -losgUtild -losgViewerd -losgVolumed -losgWidgetd
HEADERS += \
map_gr/map_gr_dis.h \
map_osg/map_osg_baseviewer.h \
map_osg/map_osg_examplewindow.h \
map_osg/map_osg_layercontrolwidget.h \
map_osg/map_osg_viewcontroller.h \
map_dlg/map_dlg_createproject.h \
map_dlg/map_dlg_dialogfactory.h \
map_gui/map_gui_mainwindow.h \
map_controller/map_controller_mainwindowcontroller.h \
map_controller/map_controller_templatecontroller.h \
map_globaldata/map_globaldata_appdata.h \
map_gui/map_gui_entityinfoview.h \
map_gui/map_gui_currentinfoview.h \
map_gui/map_gui_showview.h \
map_gui/map_gui_dockwidgettitlebar.h \
map_dlg/map_dlg_templatedialog.h \
map_gui/map_gui_titlebar.h \
map_gr/map_gr_createprimitive.h \
map_dlg/map_dlg_primitiveconfigdialog.h \
map_controller/map_controller_primitiveconfigcontroller.h \
map_osg/map_osg_basehandler.h \
map_controller/map_controller_canvastoolcontroller.h \
map_gui/map_gui_testtreeview.h \
map_gui/map_gui_droppablecanvas.h \
map_controller/map_controller_svgcontroller.h \
map_gr/map_gr_createcompass.h
SOURCES += \
map_gr/map_gr_dis.cpp \
map_osg/map_osg_baseviewer.cpp \
map_osg/map_osg_examplewindow.cpp \
map_osg/map_osg_layercontrolwidget.cpp \
map_osg/map_osg_viewcontroller.cpp \
map_dlg/map_dlg_createproject.cpp \
map_dlg/map_dlg_dialogfactory.cpp \
map_gui/map_gui_mainwindow.cpp \
map_controller/map_controller_mainwindowcontroller.cpp \
map_controller/map_controller_templatecontroller.cpp \
map_globaldata/map_globaldata_appdata.cpp \
map_gui/map_gui_entityinfoview.cpp \
map_gui/map_gui_currentinfoview.cpp \
map_gui/map_gui_showview.cpp \
map_gui/map_gui_dockwidgettitlebar.cpp \
map_dlg/map_dlg_templatedialog.cpp \
map_gui/map_gui_titlebar.cpp \
map_gr/map_gr_createprimitive.cpp \
map_dlg/map_dlg_primitiveconfigdialog.cpp \
map_controller/map_controller_primitiveconfigcontroller.cpp \
main.cpp \
map_osg/map_osg_basehandler.cpp \
map_controller/map_controller_canvastoolcontroller.cpp \
map_gui/map_gui_testtreeview.cpp \
map_gui/map_gui_droppablecanvas.cpp \
map_controller/map_controller_svgcontroller.cpp \
map_gr/map_gr_createcompass.cpp
FORMS += \
map_osg/map_osg_examplewindow.ui \
map_dlg/map_dlg_createproject.ui \
map_gui/map_gui_mainwindow.ui \
map_gui/map_gui_entityinfoview.ui \
map_gui/map_gui_currentinfoview.ui \
map_gui/map_gui_showview.ui \
map_gui/map_gui_dockwidgettitlebar.ui \
map_dlg/map_dlg_templatedialog.ui \
map_gui/map_gui_titlebar.ui \
map_dlg/map_dlg_primitiveconfigdialog.ui
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
RESOURCES += \
resource.qrc
# 禁止“未引用的形参”这一警告
win32-msvc* {
QMAKE_CXXFLAGS *= /wd"4100"
contains (QMAKE_CXXFLAGS_WARN_ON, -w34100) : QMAKE_CXXFLAGS_WARN_ON -= -w34100
}