Skip to content
Permalink
Browse files
fix SIP feature
  • Loading branch information
3nids committed Jun 24, 2021
1 parent 1851e37 commit 51f25b7df98c58729e81c22ac1d4ffd14f38a3b2
Showing with 3 additions and 1 deletion.
  1. +2 −0 python/CMakeLists.txt
  2. +1 −0 python/core/core.sip.in
  3. +0 −1 python/gui/gui.sip.in
@@ -194,6 +194,8 @@ if (WITH_GUI)

GENERATE_SIP_PYTHON_MODULE_CODE(qgis._gui gui/gui.sip "${sip_files_gui}" cpp_files)
BUILD_SIP_PYTHON_MODULE(qgis._gui gui/gui.sip ${cpp_files} "" qgis_core qgis_gui)
else()
set(SIP_DISABLE_FEATURES ${SIP_DISABLE_FEATURES} HAVE_GUI)
endif()

# 3D module
@@ -99,6 +99,7 @@ done:
%Import QtWidgets/QtWidgetsmod.sip
%Import QtPositioning/QtPositioningmod.sip

%Feature HAVE_GUI
%Feature ANDROID
%Feature VECTOR_MAPPED_TYPE

@@ -3,7 +3,6 @@

${DEFAULTDOCSTRINGSIGNATURE}

%Feature HAVE_GUI
%Feature HAVE_QSCI_SIP

%Import core/core.sip

0 comments on commit 51f25b7

Please sign in to comment.