summaryrefslogtreecommitdiffstats
path: root/src/Viewer/Qt3DViewer/Qt3DViewer.pro
blob: 1fe9a59b8b8a7f2571b7fc1e72d8407620223dfe (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
include($$PWD/../../Runtime/commoninclude.pri)

TEMPLATE = app
TARGET = Qt3DViewer
QT += qml quickcontrols2 studio3d-private

INCLUDEPATH += $$PWD/../qmlviewer

RESOURCES += Viewer.qrc
RC_ICONS = resources/images/3D-studio-viewer.ico

ICON = resources/images/viewer.icns

SOURCES += \
    $$PWD/../qmlviewer/Qt3DSView.cpp \
    $$PWD/../qmlviewer/Qt3DSRenderer.cpp \
    $$PWD/../qmlviewer/q3dspresentationitem.cpp \
    main.cpp \
    viewer.cpp \
    remotedeploymentreceiver.cpp

HEADERS += \
    $$PWD/../qmlviewer/Qt3DSView.h \
    $$PWD/../qmlviewer/Qt3DSRenderer.h \
    $$PWD/../qmlviewer/q3dspresentationitem.h \
    viewer.h \
    remotedeploymentreceiver.h

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

macos:QMAKE_RPATHDIR += @executable_path/../../../../lib

target.path = $$[QT_INSTALL_BINS]
INSTALLS += target