3 DEFINES
+= OSGEARTH_LIBRARY
8 osgQt
:DEFINES
+= USE_OSG_QT
10 osgearth
:DEFINES
+= USE_OSGEARTH
11 osgearthQt
:DEFINES
+= USE_OSGEARTH_QT
13 #DEFINES += OSG_USE_QT_PRIVATE
15 QT
+= widgets opengl qml quick
16 contains(DEFINES
, OSG_USE_QT_PRIVATE
) {
17 QT
+= core
-private gui
-private
20 include(../../library
.pri
)
21 include(../utils
/utils
.pri
)
23 include(osgearth_dependencies
.pri
)
26 QMAKE_RPATHDIR
= $$
shell_quote(\$$ORIGIN
/$$
relative_path($$GCS_LIBRARY_PATH
/osg
, $$GCS_LIBRARY_PATH
))
27 include(../../rpath
.pri
)
30 # disable all warnings on mac to avoid build failures
31 macx
:CONFIG
+= warn_off
33 # osg and osgearth emit a lot of unused parameter warnings...
34 QMAKE_CXXFLAGS
+= -Wno
-unused
-parameter
46 qtwindowingsystem
.cpp \
50 osgQtQuick
/Export
.hpp \
51 osgQtQuick
/OSGNode
.hpp \
52 osgQtQuick
/OSGGroup
.hpp \
53 osgQtQuick
/OSGTransformNode
.hpp \
54 osgQtQuick
/OSGShapeNode
.hpp \
55 osgQtQuick
/OSGTextNode
.hpp \
56 osgQtQuick
/OSGFileNode
.hpp \
57 osgQtQuick
/OSGBackgroundNode
.hpp \
58 osgQtQuick
/OSGCamera
.hpp \
59 osgQtQuick
/OSGViewport
.hpp
62 osgQtQuick
/OSGNode
.cpp \
63 osgQtQuick
/OSGGroup
.cpp \
64 osgQtQuick
/OSGTransformNode
.cpp \
65 osgQtQuick
/OSGShapeNode
.cpp \
66 osgQtQuick
/OSGTextNode
.cpp \
67 osgQtQuick
/OSGFileNode
.cpp \
68 osgQtQuick
/OSGBackgroundNode
.cpp \
69 osgQtQuick
/OSGCamera
.cpp \
70 osgQtQuick
/OSGViewport
.cpp
73 osgQtQuick
/OSGModelNode
.hpp \
74 osgQtQuick
/OSGSkyNode
.hpp
77 osgQtQuick
/OSGModelNode
.cpp \
78 osgQtQuick
/OSGSkyNode
.cpp
80 copy_osg
:include(copydata
.pro
)