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,33 @@
add_qtc_plugin(QmlJSEditor
DEPENDS LanguageUtils qmljs QmlEditorWidgets
PLUGIN_DEPENDS Core ProjectExplorer QmlJSTools TextEditor
SOURCES
qmlexpressionundercursor.cpp qmlexpressionundercursor.h
qmljsautocompleter.cpp qmljsautocompleter.h
qmljscompletionassist.cpp qmljscompletionassist.h
qmljscomponentfromobjectdef.cpp qmljscomponentfromobjectdef.h
qmljscomponentnamedialog.cpp qmljscomponentnamedialog.h qmljscomponentnamedialog.ui
qmljseditingsettingspage.cpp qmljseditingsettingspage.h qmljseditingsettingspage.ui
qmljseditor.cpp qmljseditor.h
qmljseditor_global.h
qmljseditorconstants.h
qmljseditordocument.cpp qmljseditordocument.h qmljseditordocument_p.h
qmljseditorplugin.cpp qmljseditorplugin.h
qmljsfindreferences.cpp qmljsfindreferences.h
qmljshighlighter.cpp qmljshighlighter.h
qmljshoverhandler.cpp qmljshoverhandler.h
qmljsoutline.cpp qmljsoutline.h
qmljsoutlinetreeview.cpp qmljsoutlinetreeview.h
qmljsquickfix.cpp qmljsquickfix.h
qmljsquickfixassist.cpp qmljsquickfixassist.h
qmljsquickfixes.cpp
qmljsreuse.cpp qmljsreuse.h
qmljssemantichighlighter.cpp qmljssemantichighlighter.h
qmljssemanticinfoupdater.cpp qmljssemanticinfoupdater.h
qmljstextmark.cpp qmljstextmark.h
qmljswrapinloader.cpp qmljswrapinloader.h
qmloutlinemodel.cpp qmloutlinemodel.h
qmltaskmanager.cpp qmltaskmanager.h
quicktoolbar.cpp quicktoolbar.h
EXPLICIT_MOC qmljseditor.h
)