mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
fix: build without qtserialport
closes: https://github.com/qgis/QGIS/issues/56944 Signed-off-by: t0b3 <thomas.bettler@gmail.com>
This commit is contained in:
parent
6276f5cc17
commit
57517b7292
@ -91,15 +91,6 @@ done:
|
|||||||
|
|
||||||
%End
|
%End
|
||||||
|
|
||||||
%Import QtXml/QtXmlmod.sip
|
|
||||||
%Import QtNetwork/QtNetworkmod.sip
|
|
||||||
%Import QtSql/QtSqlmod.sip
|
|
||||||
|
|
||||||
%Import QtPrintSupport/QtPrintSupportmod.sip
|
|
||||||
%Import QtWidgets/QtWidgetsmod.sip
|
|
||||||
%Import QtPositioning/QtPositioningmod.sip
|
|
||||||
%Import QtSerialPort/QtSerialPortmod.sip
|
|
||||||
|
|
||||||
%Feature HAVE_GUI
|
%Feature HAVE_GUI
|
||||||
%Feature HAVE_QTSERIALPORT
|
%Feature HAVE_QTSERIALPORT
|
||||||
%Feature HAVE_QTPRINTER
|
%Feature HAVE_QTPRINTER
|
||||||
@ -108,6 +99,18 @@ done:
|
|||||||
%Feature HAVE_WEBENGINE_SIP
|
%Feature HAVE_WEBENGINE_SIP
|
||||||
%Feature PYQT6
|
%Feature PYQT6
|
||||||
|
|
||||||
|
%Import QtXml/QtXmlmod.sip
|
||||||
|
%Import QtNetwork/QtNetworkmod.sip
|
||||||
|
%Import QtSql/QtSqlmod.sip
|
||||||
|
|
||||||
|
%Import QtPrintSupport/QtPrintSupportmod.sip
|
||||||
|
%Import QtWidgets/QtWidgetsmod.sip
|
||||||
|
%Import QtPositioning/QtPositioningmod.sip
|
||||||
|
|
||||||
|
%If (HAVE_QTSERIALPORT)
|
||||||
|
%Import QtSerialPort/QtSerialPortmod.sip
|
||||||
|
%End
|
||||||
|
|
||||||
%Include conversions.sip
|
%Include conversions.sip
|
||||||
%Include qgsexception.sip
|
%Include qgsexception.sip
|
||||||
%Include typedefs.sip
|
%Include typedefs.sip
|
||||||
|
@ -91,6 +91,13 @@ done:
|
|||||||
|
|
||||||
%End
|
%End
|
||||||
|
|
||||||
|
%Feature HAVE_GUI
|
||||||
|
%Feature HAVE_QTSERIALPORT
|
||||||
|
%Feature HAVE_QTPRINTER
|
||||||
|
%Feature ANDROID
|
||||||
|
%Feature VECTOR_MAPPED_TYPE
|
||||||
|
%Feature HAVE_WEBENGINE_SIP
|
||||||
|
|
||||||
%Import QtXml/QtXmlmod.sip
|
%Import QtXml/QtXmlmod.sip
|
||||||
%Import QtNetwork/QtNetworkmod.sip
|
%Import QtNetwork/QtNetworkmod.sip
|
||||||
%Import QtSql/QtSqlmod.sip
|
%Import QtSql/QtSqlmod.sip
|
||||||
@ -98,14 +105,10 @@ done:
|
|||||||
%Import QtPrintSupport/QtPrintSupportmod.sip
|
%Import QtPrintSupport/QtPrintSupportmod.sip
|
||||||
%Import QtWidgets/QtWidgetsmod.sip
|
%Import QtWidgets/QtWidgetsmod.sip
|
||||||
%Import QtPositioning/QtPositioningmod.sip
|
%Import QtPositioning/QtPositioningmod.sip
|
||||||
%Import QtSerialPort/QtSerialPortmod.sip
|
|
||||||
|
|
||||||
%Feature HAVE_GUI
|
%If (HAVE_QTSERIALPORT)
|
||||||
%Feature HAVE_QTSERIALPORT
|
%Import QtSerialPort/QtSerialPortmod.sip
|
||||||
%Feature HAVE_QTPRINTER
|
%End
|
||||||
%Feature ANDROID
|
|
||||||
%Feature VECTOR_MAPPED_TYPE
|
|
||||||
%Feature HAVE_WEBENGINE_SIP
|
|
||||||
|
|
||||||
%Include conversions.sip
|
%Include conversions.sip
|
||||||
%Include qgsexception.sip
|
%Include qgsexception.sip
|
||||||
|
Loading…
x
Reference in New Issue
Block a user