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>
23 lines
763 B
CMake
23 lines
763 B
CMake
add_qtc_plugin(Python
|
|
DEPENDS QmlJS
|
|
PLUGIN_DEPENDS Core LanguageClient ProjectExplorer TextEditor
|
|
SOURCES
|
|
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
|
|
)
|