Skip to content

Commit 010a99d

Browse files
authored
fix build without python (#6577)
and do not delete object with incomplete type better fix for warning adressed in PR #6491
1 parent 30749ef commit 010a99d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/app/qgisapp.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,6 @@ Q_GUI_EXPORT extern int qt_defaultDpiX();
242242
#include "qgspluginmanager.h"
243243
#include "qgspluginregistry.h"
244244
#include "qgspointxy.h"
245-
#include "qgspythonutils.h"
246245
#include "qgsruntimeprofiler.h"
247246
#include "qgshandlebadlayers.h"
248247
#include "qgsprintlayout.h"
@@ -1432,7 +1431,10 @@ QgisApp::~QgisApp()
14321431

14331432
unregisterCustomLayoutDropHandler( mLayoutQptDropHandler );
14341433

1434+
#ifdef WITH_BINDINGS
14351435
delete mPythonUtils;
1436+
#endif
1437+
14361438
delete mTray;
14371439
delete mDataSourceManagerDialog;
14381440
qDeleteAll( mCustomDropHandlers );

0 commit comments

Comments
 (0)