QGIS/python/gui/gui.sip.in
Denis Rouzaud 880d853e9f
detect SIP version to add DefaultDocstringSignature directive (#6030)
* detect SIP version to add DefaultDocstringSignature directive

SIP doesn't handle any kind of preprocessing, so there's no better solution than configuring the SIP files from CMake.
SIP 4.19.7+ supports %DefaultDocstringSignature to prepend auto-generated Python signature to existing Docstrings
2018-01-10 10:32:21 -04:00

19 lines
295 B
Plaintext

%Module(name=qgis._gui,
keyword_arguments="All")
${DEFAULTDOCSTRINGSIGNATURE}
%Feature HAVE_QSCI_SIP
%Import core/core.sip
%Import QtCore/QtCoremod.sip
%Import QtGui/QtGuimod.sip
%Import QtXml/QtXmlmod.sip
%If (HAVE_QSCI_SIP)
%Import Qsci/qscimod5.sip
%End
%Include gui_auto.sip