2013-08-21 15:25:36 +02:00
|
|
|
QT += core gui widgets qml quick network
|
2014-03-17 12:33:29 +01:00
|
|
|
QT += core-private qml-private quick-private gui-private
|
2013-08-21 15:25:36 +02:00
|
|
|
|
2020-10-07 09:11:49 +02:00
|
|
|
CONFIG += c++17
|
2020-12-11 23:43:35 +01:00
|
|
|
win32:!mingw: QMAKE_CXXFLAGS += /std:c++17
|
2014-04-09 12:55:53 +02:00
|
|
|
|
2013-10-23 16:17:54 +02:00
|
|
|
DEFINES -= QT_CREATOR
|
2012-10-02 16:09:16 +02:00
|
|
|
|
2020-06-12 10:29:48 +02:00
|
|
|
# This .pri file contains classes to enable a special multilanguage translator
|
2020-05-18 23:39:18 +02:00
|
|
|
MULTILANGUAGE_SUPPORT_PRI=$$(MULTILANGUAGE_SUPPORT_PRI)
|
|
|
|
!isEmpty(MULTILANGUAGE_SUPPORT_PRI) {
|
2020-06-12 10:29:48 +02:00
|
|
|
exists($$(MULTILANGUAGE_SUPPORT_PRI)): message(including \"$$(MULTILANGUAGE_SUPPORT_PRI)\")
|
|
|
|
else: error("MULTILANGUAGE_SUPPORT_PRI: \"$$(MULTILANGUAGE_SUPPORT_PRI)\" does not exist.")
|
2020-05-18 23:39:18 +02:00
|
|
|
include($$(MULTILANGUAGE_SUPPORT_PRI))
|
|
|
|
DEFINES += MULTILANGUAGE_TRANSLATIONPROVIDER
|
|
|
|
}
|
|
|
|
|
2019-10-15 14:54:20 +03:00
|
|
|
include (editor3d/editor3d.pri)
|
2012-10-02 16:09:16 +02:00
|
|
|
include (../instances/instances.pri)
|
|
|
|
include (instances/instances.pri)
|
|
|
|
include (../commands/commands.pri)
|
|
|
|
include (../container/container.pri)
|
|
|
|
include (../interfaces/interfaces.pri)
|
2013-12-16 12:50:32 +01:00
|
|
|
include (../types/types.pri)
|
2015-05-19 13:11:39 +02:00
|
|
|
include (../qmlprivategate/qmlprivategate.pri)
|
2020-03-24 13:51:16 +02:00
|
|
|
include (iconrenderer/iconrenderer.pri)
|
2021-01-22 17:51:46 +02:00
|
|
|
include (import3d/import3d.pri)
|
2012-10-02 16:09:16 +02:00
|
|
|
|
2013-05-30 16:11:14 +02:00
|
|
|
SOURCES += $$PWD/qml2puppetmain.cpp
|
2012-10-02 16:09:16 +02:00
|
|
|
RESOURCES += $$PWD/../qmlpuppet.qrc
|
|
|
|
|
2021-06-28 14:04:43 +03:00
|
|
|
versionAtLeast(QT_VERSION, 6.0.0): RESOURCES += $$PWD/../editor3d_qt6.qrc
|
|
|
|
else: RESOURCES += $$PWD/../editor3d_qt5.qrc
|
|
|
|
|
2014-09-12 14:34:28 +02:00
|
|
|
DISTFILES += Info.plist
|
2014-04-09 12:55:53 +02:00
|
|
|
|
2016-01-18 11:32:56 +01:00
|
|
|
unix:!openbsd:!osx: LIBS += -lrt # posix shared memory
|
2014-04-09 12:55:53 +02:00
|
|
|
|
2014-07-31 16:45:21 +02:00
|
|
|
osx {
|
2014-04-09 12:55:53 +02:00
|
|
|
CONFIG -= app_bundle
|
2014-10-30 14:39:35 -07:00
|
|
|
QMAKE_LFLAGS += -Wl,-sectcreate,__TEXT,__info_plist,$$system_quote($$PWD/Info.plist)
|
2012-10-02 16:09:16 +02:00
|
|
|
}
|
2015-09-04 13:11:54 +02:00
|
|
|
|
|
|
|
osx: target.path = $$INSTALL_LIBEXEC_PATH/qmldesigner
|
|
|
|
else: target.path = $$INSTALL_LIBEXEC_PATH
|
|
|
|
INSTALLS += target
|