Qt Creator CMake port

Based on Tobias Hunger's work from a few months ago.

The CMake configuration needs libclang and Qt paths specified as
CMAKE_PREFIX_PATH.

Auto tests are run with "ctest". At the moment the pass rate is 87%.

Change-Id: Iba98e39bf22077d52706dce6c85986be67a6eab0
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Cristian Adam
2019-05-12 22:20:56 +02:00
parent f872a95fdd
commit d855b84c5d
232 changed files with 5998 additions and 138 deletions

View File

@@ -0,0 +1,38 @@
find_package(Qbs)
add_qtc_plugin(QbsProjectManager
CONDITION TARGET Qbs::QbsCore
DEPENDS Qbs::QbsCore Qt5::Widgets qmljs
DEFINES
QBS_INSTALL_DIR="${QBS_INSTALL_DIR}"
IDE_LIBRARY_BASENAME="${IDE_LIBRARY_BASE_PATH}"
PLUGIN_DEPENDS Core ProjectExplorer CppTools QtSupport QmlJSTools
SOURCES
customqbspropertiesdialog.cpp customqbspropertiesdialog.h customqbspropertiesdialog.ui
defaultpropertyprovider.cpp defaultpropertyprovider.h
propertyprovider.h
qbsbuildconfiguration.cpp qbsbuildconfiguration.h
qbsbuildstep.cpp qbsbuildstep.h
qbsbuildstepconfigwidget.ui
qbscleanstep.cpp qbscleanstep.h
qbscleanstepconfigwidget.ui
qbsinstallstep.cpp qbsinstallstep.h
qbsinstallstepconfigwidget.ui
qbskitinformation.cpp qbskitinformation.h
qbslogsink.cpp qbslogsink.h
qbsnodes.cpp qbsnodes.h
qbsnodetreebuilder.cpp qbsnodetreebuilder.h
qbsparser.cpp qbsparser.h
qbspmlogging.cpp qbspmlogging.h
qbsprofilessettingspage.cpp qbsprofilessettingspage.h
qbsprofilessettingswidget.ui
qbsproject.cpp qbsproject.h
qbsprojectimporter.cpp qbsprojectimporter.h
qbsprojectmanager.cpp qbsprojectmanager.h qbsprojectmanager.qrc
qbsprojectmanager_global.h
qbsprojectmanagerconstants.h
qbsprojectmanagerplugin.cpp qbsprojectmanagerplugin.h
qbsprojectmanagersettings.cpp qbsprojectmanagersettings.h
qbsprojectparser.cpp qbsprojectparser.h
qbsrunconfiguration.cpp qbsrunconfiguration.h
)