diff options
Diffstat (limited to 'mapbox-gl-native.pro')
-rw-r--r-- | mapbox-gl-native.pro | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/mapbox-gl-native.pro b/mapbox-gl-native.pro index cada3d2b45..1999a45260 100644 --- a/mapbox-gl-native.pro +++ b/mapbox-gl-native.pro @@ -1,8 +1,10 @@ TARGET = qmapboxgl +TEMPLATE = lib + CONFIG += qt c++14 exceptions warn_off object_parallel_to_source -QT += widgets network gui sql +QT += network gui sql QMAKE_CXXFLAGS += \ -DNDEBUG \ @@ -386,13 +388,18 @@ INCLUDEPATH += \ QMAKE_CXXFLAGS += \ -DMBGL_VERSION_REV=\\\"qt-v1.2.0\\\" -# The demo application -SOURCES += \ - platform/qt/app/main.cpp \ - platform/qt/app/mapwindow.cpp +TestApplication { + TEMPLATE = app -HEADERS += \ - platform/qt/app/mapwindow.hpp + QT += widgets -RESOURCES += \ - platform/qt/resources/common.qrc + SOURCES += \ + platform/qt/app/main.cpp \ + platform/qt/app/mapwindow.cpp + + HEADERS += \ + platform/qt/app/mapwindow.hpp + + RESOURCES += \ + platform/qt/resources/common.qrc +} |