mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
fix bindings with core only
This commit is contained in:
parent
f2758f9745
commit
1851e379d1
@ -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
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user