mirror of
https://github.com/qgis/QGIS.git
synced 2025-11-28 00:06:23 -05:00
Macro should be HAVE_GUI, not WITH_GUI
This commit is contained in:
parent
c034d1b50a
commit
ccf50da973
@ -40,7 +40,7 @@
|
|||||||
#include <QString>
|
#include <QString>
|
||||||
#include <QMutexLocker>
|
#include <QMutexLocker>
|
||||||
#include <QUrlQuery>
|
#include <QUrlQuery>
|
||||||
#ifdef WITH_GUI
|
#ifdef HAVE_GUI
|
||||||
#include <QInputDialog>
|
#include <QInputDialog>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@ -29,7 +29,7 @@
|
|||||||
#include "qgsapplication.h"
|
#include "qgsapplication.h"
|
||||||
#include "qgsauthmanager.h"
|
#include "qgsauthmanager.h"
|
||||||
#include "qgsauthoauth2config.h"
|
#include "qgsauthoauth2config.h"
|
||||||
#ifdef WITH_GUI
|
#ifdef HAVE_GUI
|
||||||
#include "qgsauthoauth2edit.h"
|
#include "qgsauthoauth2edit.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -418,7 +418,7 @@ void TestQgsAuthOAuth2Method::testOAuth2ConfigUtils()
|
|||||||
|
|
||||||
void TestQgsAuthOAuth2Method::testDynamicRegistrationNoEndpoint()
|
void TestQgsAuthOAuth2Method::testDynamicRegistrationNoEndpoint()
|
||||||
{
|
{
|
||||||
#ifdef WITH_GUI
|
#ifdef HAVE_GUI
|
||||||
QgsAuthOAuth2Config *config = baseConfig();
|
QgsAuthOAuth2Config *config = baseConfig();
|
||||||
config->setClientId( QString() );
|
config->setClientId( QString() );
|
||||||
config->setClientSecret( QString() );
|
config->setClientSecret( QString() );
|
||||||
@ -444,7 +444,7 @@ void TestQgsAuthOAuth2Method::testDynamicRegistrationNoEndpoint()
|
|||||||
|
|
||||||
void TestQgsAuthOAuth2Method::testDynamicRegistration()
|
void TestQgsAuthOAuth2Method::testDynamicRegistration()
|
||||||
{
|
{
|
||||||
#ifdef WITH_GUI
|
#ifdef HAVE_GUI
|
||||||
QgsAuthOAuth2Config *config = baseConfig();
|
QgsAuthOAuth2Config *config = baseConfig();
|
||||||
config->setClientId( QString() );
|
config->setClientId( QString() );
|
||||||
config->setClientSecret( QString() );
|
config->setClientSecret( QString() );
|
||||||
@ -483,7 +483,7 @@ void TestQgsAuthOAuth2Method::testDynamicRegistration()
|
|||||||
|
|
||||||
void TestQgsAuthOAuth2Method::testDynamicRegistrationJwt()
|
void TestQgsAuthOAuth2Method::testDynamicRegistrationJwt()
|
||||||
{
|
{
|
||||||
#ifdef WITH_GUI
|
#ifdef HAVE_GUI
|
||||||
QgsAuthOAuth2Config *config = baseConfig();
|
QgsAuthOAuth2Config *config = baseConfig();
|
||||||
config->setClientId( QString() );
|
config->setClientId( QString() );
|
||||||
config->setClientSecret( QString() );
|
config->setClientSecret( QString() );
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user