forked from qt-creator/qt-creator
Users should be able to add custom QML import paths for Python/PySide2/PyQt5 projects in Qt Creator in order to get syntax highlighting and code completion for custom QML modules. Fixes: QTCREATORBUG-23679 Change-Id: Iec7c691c4b8709c48a790cd27ac7c6e755967796 Reviewed-by: hjk <hjk@qt.io>
44 lines
1.1 KiB
QML
44 lines
1.1 KiB
QML
import qbs 1.0
|
|
|
|
QtcPlugin {
|
|
name: "Python"
|
|
|
|
Depends { name: "Qt.widgets" }
|
|
|
|
Depends { name: "QmlJS" }
|
|
Depends { name: "Utils" }
|
|
|
|
Depends { name: "Core" }
|
|
Depends { name: "TextEditor" }
|
|
Depends { name: "ProjectExplorer" }
|
|
Depends { name: "LanguageClient" }
|
|
Depends { name: "LanguageServerProtocol" }
|
|
|
|
Group {
|
|
name: "General"
|
|
files: [
|
|
"python.qrc",
|
|
"pythoneditor.cpp",
|
|
"pythoneditor.h",
|
|
"pythonconstants.h",
|
|
"pythonplugin.cpp",
|
|
"pythonplugin.h",
|
|
"pythonhighlighter.h",
|
|
"pythonhighlighter.cpp",
|
|
"pythonindenter.cpp",
|
|
"pythonindenter.h",
|
|
"pythonformattoken.h",
|
|
"pythonproject.cpp",
|
|
"pythonproject.h",
|
|
"pythonrunconfiguration.cpp",
|
|
"pythonrunconfiguration.h",
|
|
"pythonscanner.h",
|
|
"pythonscanner.cpp",
|
|
"pythonsettings.cpp",
|
|
"pythonsettings.h",
|
|
"pythonutils.cpp",
|
|
"pythonutils.h",
|
|
]
|
|
}
|
|
}
|