Skip to content
Permalink
Browse files
fix bindings with core only
  • Loading branch information
3nids committed Jun 24, 2021
1 parent f2758f9 commit 1851e379d1b60b437dc4589aaf64d430ef8ab537
Showing with 5 additions and 5 deletions.
  1. +2 −2 python/core/auto_generated/auth/qgsauthmethod.sip.in
  2. +1 −0 python/gui/gui.sip.in
  3. +2 −3 src/core/auth/qgsauthmethod.h
@@ -10,8 +10,6 @@





class QgsAuthMethod : QObject
{
%Docstring(signature="appended")
@@ -43,7 +41,9 @@ Increment this if method is significantly updated, allow updater code to be writ



%If (HAVE_GUI)
virtual QWidget *editWidget( QWidget *parent ) const;
%End
%Docstring
Constructs the configuration for the authentication method

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

${DEFAULTDOCSTRINGSIGNATURE}

%Feature HAVE_GUI
%Feature HAVE_QSCI_SIP

%Import core/core.sip
@@ -30,9 +30,8 @@
#endif

#include "qgsconfig.h"


#include "qgis_core.h"
#include "qgis_sip.h"

class QgsAuthMethodConfig;

@@ -76,7 +75,7 @@ class CORE_EXPORT QgsAuthMethod : public QObject
* Constructs the configuration for the authentication method
* \since QGIS 3.22
*/
virtual QWidget *editWidget( QWidget *parent ) const;
virtual QWidget *editWidget( QWidget *parent ) const SIP_WHEN_FEATURE( HAVE_GUI );
#endif

/**

0 comments on commit 1851e37

Please sign in to comment.