MerginMaps / mobile

Mobile app for Mergin Maps 📲. Open QGIS projects and manage vector data on your phone, even offline 📶 (Android/iOS/Windows app)
https://merginmaps.com
GNU General Public License v2.0
292 stars 64 forks source link

Deprecated debugging enabler used #3303

Closed tomasMizera closed 4 months ago

tomasMizera commented 4 months ago

Started to see these lines while building Gallery app:

/Users/tomasmizera/Projects/mobile/input/gallery/main.cpp:49:24: warning: 'QQmlDebuggingEnabler' is deprecated: Use QQmlTriviallyDestructibleDebuggingEnabler instead or just call QQmlDebuggingEnabler::enableDebugging(). [-Wdeprecated-declarations]
  QQmlDebuggingEnabler enabler;
                       ^
/opt/Qt/6.6.0/macos/lib/QtQml.framework/Headers/qqmldebug.h:26:5: note: 'QQmlDebuggingEnabler' has been explicitly marked deprecated here
    QT_DEPRECATED_VERSION_X_6_4("Use QQmlTriviallyDestructibleDebuggingEnabler instead "
    ^
/opt/Qt/6.6.0/macos/lib/QtCore.framework/Headers/qtdeprecationmarkers.h:159:44: note: expanded from macro 'QT_DEPRECATED_VERSION_X_6_4'
# define QT_DEPRECATED_VERSION_X_6_4(text) QT_DEPRECATED_X(text)
                                           ^
/opt/Qt/6.6.0/macos/lib/QtCore.framework/Headers/qtdeprecationmarkers.h:27:33: note: expanded from macro 'QT_DEPRECATED_X'
#  define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
                                ^
/opt/Qt/6.6.0/macos/lib/QtCore.framework/Headers/qcompilerdetection.h:982:36: note: expanded from macro 'Q_DECL_DEPRECATED_X'
#  define Q_DECL_DEPRECATED_X(x) [[deprecated(x)]]
                                   ^
1 warning generated.