You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
251 lines
6.5 KiB
Prolog
251 lines
6.5 KiB
Prolog
QT += core gui printsupport
|
|
#QT += network
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
|
|
CONFIG += c++11
|
|
|
|
# You can make your code fail to compile if it uses deprecated APIs.
|
|
# In order to do so, uncomment the following line.
|
|
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
|
|
|
SOURCES += \
|
|
angle.cpp \
|
|
bindroutedialog.cpp \
|
|
bindroutetablemodel.cpp \
|
|
chart.cpp \
|
|
collisiondetectionthread.cpp \
|
|
computeoffsetpositiondialog.cpp \
|
|
displayroutedialog.cpp \
|
|
flysimulateddlg.cpp \
|
|
geocomputation.cpp \
|
|
geofeatureoperator.cpp \
|
|
geofileparser.cpp \
|
|
geospatialanalysis.cpp \
|
|
global.cpp \
|
|
icons.cpp \
|
|
importscenedatadialog.cpp \
|
|
layeroperator.cpp \
|
|
loadonlinemapdialog.cpp \
|
|
loadscenedatathread.cpp \
|
|
log.cpp \
|
|
main.cpp \
|
|
mainwindow.cpp \
|
|
mapdatamaneger.cpp \
|
|
maplocationdialog.cpp \
|
|
mapthread.cpp \
|
|
messagetips.cpp \
|
|
multiselectcombobox.cpp \
|
|
mycheckbox.cpp \
|
|
plane.cpp \
|
|
plane3d.cpp \
|
|
realtimepositioninfothread.cpp \
|
|
routeanalysisdialog.cpp \
|
|
routeglobalvariant.cpp \
|
|
saveroutedialog.cpp \
|
|
scenecontrol.cpp \
|
|
sceneeditorwnd.cpp \
|
|
scenelayersview.cpp \
|
|
sceneview.cpp \
|
|
settingflightpoint3ddialog.cpp \
|
|
showplane.cpp \
|
|
showplane3d.cpp \
|
|
symbolresources.cpp \
|
|
ugstrconvertor.cpp \
|
|
workspace.cpp
|
|
|
|
HEADERS += \
|
|
angle.h \
|
|
bindroutedialog.h \
|
|
bindroutetablemodel.h \
|
|
chart.h \
|
|
collisiondetectionthread.h \
|
|
computeoffsetpositiondialog.h \
|
|
displayroutedialog.h \
|
|
exportsDefine.h \
|
|
flysimulateddlg.h \
|
|
geocomputation.h \
|
|
geofeatureoperator.h \
|
|
geofileparser.h \
|
|
geospatialanalysis.h \
|
|
global.h \
|
|
icons.h \
|
|
importscenedatadialog.h \
|
|
layeroperator.h \
|
|
loadonlinemapdialog.h \
|
|
loadscenedatathread.h \
|
|
log.h \
|
|
mainwindow.h \
|
|
mapdatamaneger.h \
|
|
maplocationdialog.h \
|
|
mapthread.h \
|
|
messagetips.h \
|
|
multiselectcombobox.h \
|
|
mycheckbox.h \
|
|
plane.h \
|
|
plane3d.h \
|
|
realtimepositioninfothread.h \
|
|
routeanalysisdialog.h \
|
|
routeglobalvariant.h \
|
|
saveroutedialog.h \
|
|
scenecontrol.h \
|
|
sceneeditorwnd.h \
|
|
scenelayersview.h \
|
|
sceneview.h \
|
|
settingflightpoint3ddialog.h \
|
|
showplane.h \
|
|
showplane3d.h \
|
|
symbolresources.h \
|
|
ugstrconvertor.h \
|
|
workspace.h
|
|
|
|
FORMS += \
|
|
bindroutedialog.ui \
|
|
computeoffsetpositiondialog.ui \
|
|
displayroutedialog.ui \
|
|
flysimulateddlg.ui \
|
|
importscenedatadialog.ui \
|
|
loadonlinemapdialog.ui \
|
|
mainwindow.ui \
|
|
maplocationdialog.ui \
|
|
routeanalysisdialog.ui \
|
|
saveroutedialog.ui \
|
|
settingflightpoint3ddialog.ui
|
|
|
|
|
|
include(./QCustomPlot/QCustomPlot.pri) //图表子模块
|
|
|
|
# Default rules for deployment.
|
|
qnx: target.path = /tmp/$${TARGET}/bin
|
|
else: unix:!android: target.path = /opt/$${TARGET}/bin
|
|
!isEmpty(target.path): INSTALLS += target
|
|
|
|
msvc {
|
|
QMAKE_CFLAGS += /utf-8
|
|
QMAKE_CXXFLAGS += /utf-8
|
|
}
|
|
|
|
#iObjects 组件的预处理
|
|
DEFINES += _UGUNICODE
|
|
DEFINES += _HAS_STD_BYTE=0
|
|
|
|
#头文件目
|
|
INCLUDEPATH += "../../include"
|
|
INCLUDEPATH += "../../include/private"
|
|
INCLUDEPATH += "../../sample/extensions4Qt"
|
|
INCLUDEPATH += "./include"
|
|
|
|
#附加库(目录以L标记,附加库名以l标记)
|
|
win32{
|
|
QMAKE_CXXFLAGS = -Zc:wchar_t /bigobj /FS
|
|
QMAKE_CXXFLAGS_RELEASE = -Od -MD -Zi
|
|
QMAKE_LFLAGS_RELEASE = -DEBUG
|
|
CONFIG(debug, debug|release){
|
|
#debug
|
|
contains(QMAKE_HOST.arch, x86_64){
|
|
DESTDIR = "../../sample/debug/x64"
|
|
LIBS += -L"../../sample/debug/x64" -lExtensions4Qt
|
|
LIBS += -L"$$PWD/lib/libd_x64" -lerkird
|
|
LIBPATH = "../../lib/libd_x64"
|
|
}
|
|
LIBS += -lSuToolkitd \
|
|
-lSuElementd \
|
|
-lSuOGDCd \
|
|
-lSuBased \
|
|
-lSuSpatialIndexd \
|
|
-lSuEngined \
|
|
-lSuEngineOGDCd \
|
|
-lSuGraphicsd \
|
|
-lSuMapd \
|
|
-lSuDrawingd \
|
|
-lSuChartBased \
|
|
-lSuBase3Dd \
|
|
-lSuMapEditord \
|
|
-lSuGeometryd \
|
|
-lSuGeoOperationd \
|
|
-lSuWorkspaced \
|
|
-lSuStreamd \
|
|
-lSuFileParserd \
|
|
-lSuDataExchanged \
|
|
-lSuRasterDatad \
|
|
-lSuProjectiond \
|
|
-lSuGeometry3Dd \
|
|
-lSuGraphics3Dd \
|
|
-lSuRenderd \
|
|
-lSuScened \
|
|
-lSuSceneEditord \
|
|
-lSuFMELicensed \
|
|
-lSuNetToolkitd \
|
|
-lSuLayer3DDatasetModeld\
|
|
-lSuLayer3DDatasetd\
|
|
-lSuFileParser3dsd\
|
|
-lSuFileParser3DModeld\
|
|
-lSuGeometryPlotd\
|
|
-lSuSymbold\
|
|
-lSuSymbolMarker3Dd\
|
|
-lSuLayer3DFiled\
|
|
-lSuLayer3DTreed\
|
|
-lSuGridAnalystd\
|
|
-lSuAnalyst3Dd\
|
|
# -lSuFileParserGLTFd\
|
|
|
|
}else:CONFIG(release, debug|release){
|
|
#release
|
|
contains(QMAKE_HOST.arch, x86_64){
|
|
DESTDIR = "../../sample/release/x64"
|
|
LIBS += -L"../../sample/release/x64" -lExtensions4Qt
|
|
LIBS += -L"$$PWD/lib/lib_x64" -lerkir
|
|
LIBS += -L"$$PWD/lib/lib_x64" -lQNotify
|
|
LIBPATH = "../../lib/lib_x64"
|
|
}else{
|
|
DESTDIR = "../release/x86"
|
|
LIBS += -L"../release/x86" -lExtensions4Qt
|
|
LIBS += -L"$$PWD/lib/lib_x64" -lerkir
|
|
LIBS += -L"$$PWD/lib/lib_x64" -lQNotify
|
|
LIBPATH = "../../lib/lib"
|
|
}
|
|
LIBS += -lSuToolkit \
|
|
-lSuElement \
|
|
-lSuOGDC \
|
|
-lSuBase \
|
|
-lSuSpatialIndex \
|
|
-lSuEngine \
|
|
-lSuGraphics \
|
|
-lSuMap \
|
|
-lSuDrawing \
|
|
-lSuChartBase \
|
|
-lSuBase3D \
|
|
-lSuMapEditor \
|
|
-lSuGeometry \
|
|
-lSuGeoOperation \
|
|
-lSuWorkspace \
|
|
-lSuStream \
|
|
-lSuFileParser \
|
|
-lSuDataExchange \
|
|
-lSuRasterData \
|
|
-lSuProjection \
|
|
-lSuGeometry3D \
|
|
-lSuGraphics3D \
|
|
-lSuRender \
|
|
-lSuScene \
|
|
-lSuSceneEditor \
|
|
-lSuFMELicense \
|
|
-lSuNetToolkit \
|
|
-lSuLayer3DDatasetModel\
|
|
-lSuLayer3DDataset\
|
|
-lSuFileParser3ds\
|
|
-lSuFileParser3DModel\
|
|
-lSuGeometryPlot\
|
|
-lSuSymbol\
|
|
-lSuSymbolMarker3D\
|
|
-lSuLayer3DFile\
|
|
-lSuLayer3DTree\
|
|
-lSuGridAnalyst\
|
|
-lSuAnalyst3D\
|
|
# -lSuFileParserGLTF\
|
|
}
|
|
}
|
|
|
|
RESOURCES += \
|
|
res.qrc
|