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,41 @@
add_qtc_plugin(Git
PLUGIN_DEPENDS Core DiffEditor TextEditor VcsBase
SOURCES
annotationhighlighter.cpp annotationhighlighter.h
branchadddialog.cpp branchadddialog.h branchadddialog.ui
branchcheckoutdialog.cpp branchcheckoutdialog.h branchcheckoutdialog.ui
branchmodel.cpp branchmodel.h
branchview.cpp branchview.h
changeselectiondialog.cpp changeselectiondialog.h changeselectiondialog.ui
commitdata.cpp commitdata.h
gerrit/authenticationdialog.cpp gerrit/authenticationdialog.h gerrit/authenticationdialog.ui
gerrit/branchcombobox.cpp gerrit/branchcombobox.h
gerrit/gerritdialog.cpp gerrit/gerritdialog.h gerrit/gerritdialog.ui
gerrit/gerritmodel.cpp gerrit/gerritmodel.h
gerrit/gerritoptionspage.cpp gerrit/gerritoptionspage.h
gerrit/gerritparameters.cpp gerrit/gerritparameters.h
gerrit/gerritplugin.cpp gerrit/gerritplugin.h
gerrit/gerritpushdialog.cpp gerrit/gerritpushdialog.h gerrit/gerritpushdialog.ui
gerrit/gerritremotechooser.cpp gerrit/gerritremotechooser.h
gerrit/gerritserver.cpp gerrit/gerritserver.h
git.qrc
gitclient.cpp gitclient.h
gitconstants.h
giteditor.cpp giteditor.h
gitgrep.cpp gitgrep.h
githighlighters.cpp githighlighters.h
gitplugin.cpp gitplugin.h
gitsettings.cpp gitsettings.h
gitsubmiteditor.cpp gitsubmiteditor.h
gitsubmiteditorwidget.cpp gitsubmiteditorwidget.h
gitsubmitpanel.ui
gitutils.cpp gitutils.h
gitversioncontrol.cpp gitversioncontrol.h
logchangedialog.cpp logchangedialog.h
mergetool.cpp mergetool.h
remoteadditiondialog.ui
remotedialog.cpp remotedialog.h remotedialog.ui
remotemodel.cpp remotemodel.h
settingspage.cpp settingspage.h settingspage.ui
stashdialog.cpp stashdialog.h stashdialog.ui
)