mirror of
https://github.com/qgis/QGIS.git
synced 2025-11-27 00:07:16 -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 <QMutexLocker>
|
||||
#include <QUrlQuery>
|
||||
#ifdef WITH_GUI
|
||||
#ifdef HAVE_GUI
|
||||
#include <QInputDialog>
|
||||
#endif
|
||||
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
#include "qgsapplication.h"
|
||||
#include "qgsauthmanager.h"
|
||||
#include "qgsauthoauth2config.h"
|
||||
#ifdef WITH_GUI
|
||||
#ifdef HAVE_GUI
|
||||
#include "qgsauthoauth2edit.h"
|
||||
#endif
|
||||
|
||||
@ -418,7 +418,7 @@ void TestQgsAuthOAuth2Method::testOAuth2ConfigUtils()
|
||||
|
||||
void TestQgsAuthOAuth2Method::testDynamicRegistrationNoEndpoint()
|
||||
{
|
||||
#ifdef WITH_GUI
|
||||
#ifdef HAVE_GUI
|
||||
QgsAuthOAuth2Config *config = baseConfig();
|
||||
config->setClientId( QString() );
|
||||
config->setClientSecret( QString() );
|
||||
@ -444,7 +444,7 @@ void TestQgsAuthOAuth2Method::testDynamicRegistrationNoEndpoint()
|
||||
|
||||
void TestQgsAuthOAuth2Method::testDynamicRegistration()
|
||||
{
|
||||
#ifdef WITH_GUI
|
||||
#ifdef HAVE_GUI
|
||||
QgsAuthOAuth2Config *config = baseConfig();
|
||||
config->setClientId( QString() );
|
||||
config->setClientSecret( QString() );
|
||||
@ -483,7 +483,7 @@ void TestQgsAuthOAuth2Method::testDynamicRegistration()
|
||||
|
||||
void TestQgsAuthOAuth2Method::testDynamicRegistrationJwt()
|
||||
{
|
||||
#ifdef WITH_GUI
|
||||
#ifdef HAVE_GUI
|
||||
QgsAuthOAuth2Config *config = baseConfig();
|
||||
config->setClientId( QString() );
|
||||
config->setClientSecret( QString() );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user