forked from qt-creator/qt-creator
		
	Import QtQuick3D 1.15 no longer works in Qt 6.2, so provide a separate set of qml files for each major Qt version. Fixes: QDS-4642 Change-Id: I3e17fb248f71f87fb9a40dcad3c03e037cafb0f4 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Samuel Ghinet <samuel.ghinet@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
		
			
				
	
	
		
			47 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			47 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| QT += core gui widgets qml quick network
 | |
| QT += core-private qml-private quick-private gui-private
 | |
| 
 | |
| CONFIG += c++17
 | |
| win32:!mingw: QMAKE_CXXFLAGS += /std:c++17
 | |
| 
 | |
| DEFINES -= QT_CREATOR
 | |
| 
 | |
| # This .pri file contains classes to enable a special multilanguage translator
 | |
| MULTILANGUAGE_SUPPORT_PRI=$$(MULTILANGUAGE_SUPPORT_PRI)
 | |
| !isEmpty(MULTILANGUAGE_SUPPORT_PRI) {
 | |
|     exists($$(MULTILANGUAGE_SUPPORT_PRI)): message(including \"$$(MULTILANGUAGE_SUPPORT_PRI)\")
 | |
|     else: error("MULTILANGUAGE_SUPPORT_PRI: \"$$(MULTILANGUAGE_SUPPORT_PRI)\" does not exist.")
 | |
|     include($$(MULTILANGUAGE_SUPPORT_PRI))
 | |
|     DEFINES += MULTILANGUAGE_TRANSLATIONPROVIDER
 | |
| }
 | |
| 
 | |
| include (editor3d/editor3d.pri)
 | |
| include (../instances/instances.pri)
 | |
| include (instances/instances.pri)
 | |
| include (../commands/commands.pri)
 | |
| include (../container/container.pri)
 | |
| include (../interfaces/interfaces.pri)
 | |
| include (../types/types.pri)
 | |
| include (../qmlprivategate/qmlprivategate.pri)
 | |
| include (iconrenderer/iconrenderer.pri)
 | |
| include (import3d/import3d.pri)
 | |
| 
 | |
| SOURCES +=  $$PWD/qml2puppetmain.cpp
 | |
| RESOURCES +=  $$PWD/../qmlpuppet.qrc
 | |
| 
 | |
| versionAtLeast(QT_VERSION, 6.0.0): RESOURCES += $$PWD/../editor3d_qt6.qrc
 | |
| else: RESOURCES += $$PWD/../editor3d_qt5.qrc
 | |
| 
 | |
| DISTFILES += Info.plist
 | |
| 
 | |
| unix:!openbsd:!osx: LIBS += -lrt # posix shared memory
 | |
| 
 | |
| osx {
 | |
|     CONFIG -= app_bundle
 | |
|     QMAKE_LFLAGS += -Wl,-sectcreate,__TEXT,__info_plist,$$system_quote($$PWD/Info.plist)
 | |
| }
 | |
| 
 | |
| osx:  target.path = $$INSTALL_LIBEXEC_PATH/qmldesigner
 | |
| else: target.path = $$INSTALL_LIBEXEC_PATH
 | |
| INSTALLS += target
 |