forked from qt-creator/qt-creator
To be able to autocomplete code from .ui forms we need to feed the python language server the compiled form. The uic extra compiler generates a temporary ui_name.py file for uncompiled or unsaved ui files. These files are inside a folder that gets appended to the python path environment variable for the python language server. Change-Id: I9f48d2012162f33986639315189c41e0a7e0dad2 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
54 lines
1.4 KiB
QML
54 lines
1.4 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: [
|
|
"pipsupport.cpp",
|
|
"pipsupport.h",
|
|
"pyside.cpp",
|
|
"pyside.h",
|
|
"pysidebuildconfiguration.cpp",
|
|
"pysidebuildconfiguration.h",
|
|
"pysideuicextracompiler.cpp",
|
|
"pysideuicextracompiler.h",
|
|
"python.qrc",
|
|
"pythonconstants.h",
|
|
"pythoneditor.cpp",
|
|
"pythoneditor.h",
|
|
"pythonformattoken.h",
|
|
"pythonhighlighter.cpp",
|
|
"pythonhighlighter.h",
|
|
"pythonindenter.cpp",
|
|
"pythonindenter.h",
|
|
"pythonlanguageclient.cpp",
|
|
"pythonlanguageclient.h",
|
|
"pythonplugin.cpp",
|
|
"pythonplugin.h",
|
|
"pythonproject.cpp",
|
|
"pythonproject.h",
|
|
"pythonrunconfiguration.cpp",
|
|
"pythonrunconfiguration.h",
|
|
"pythonscanner.cpp",
|
|
"pythonscanner.h",
|
|
"pythonsettings.cpp",
|
|
"pythonsettings.h",
|
|
"pythonutils.cpp",
|
|
"pythonutils.h",
|
|
]
|
|
}
|
|
}
|