summaryrefslogtreecommitdiffstats
path: root/src/api/studio3dqml/studio3dqml.pro
blob: ac7f03d3e1e1809459bc5d87ddfa186007cb1333 (plain)
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
include($$PWD/../../commoninclude.pri)

QT += qml quick opengl studio3d-private
CONFIG += plugin

qtHaveModule(multimedia) {
DEFINES += PLATFORM_HAS_QT_MULTIMEDIA_LIB
QT += multimedia
}

TARGET = qtstudio3dopengl
TARGETPATH = QtStudio3D/OpenGL
IMPORT_VERSION = 2.4

SOURCES += \
    q3dsplugin.cpp \
    q3dsstudio3d.cpp \
    q3dsrenderer.cpp \
    q3dspresentationitem.cpp \
    q3dsruntimeinitializerthread.cpp

HEADERS += \
    q3dsplugin.h \
    q3dsrenderer_p.h \
    q3dsstudio3d_p.h \
    q3dspresentationitem_p.h \
    q3dsruntimeinitializerthread_p.h

LIBS += \
    -lqt3dsopengl$$qtPlatformTargetSuffix() \
    -lqt3dsqmlstreamer$$qtPlatformTargetSuffix()

OTHER_FILES += \
  qmldir

load(qml_plugin)

android {
    # qt prl files contain hard coded paths to android ndk so don't link against them
    # If libraries are missing because of this they need to be added separately
    CONFIG -= link_prl
}