Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.9.3, 6.10.0
-
None
Description
Building the FX Material Showroom example results in a compiler warning:
/Users/kkoehne/dev/qt/dev/src/qtdoc/examples/demos/FX_Material_Showroom/src/main.cpp:19:48: warning: 'operator""_qs' is deprecated: Use _s from Qt::StringLiterals namespace instead. [-Wdeprecated-declarations] 19 | const QUrl url(u"qrc:/qt/qml/Main/main.qml"_qs); | ^ /Users/kkoehne/Qt/6.10.0/macos/lib/QtCore.framework/Headers/qstring.h:1782:1: note: 'operator""_qs' has been explicitly marked deprecated here 1782 | QT_DEPRECATED_VERSION_X_6_8("Use _s from Qt::StringLiterals namespace instead.") | ^ /Users/kkoehne/Qt/6.10.0/macos/lib/QtCore.framework/Headers/qtdeprecationmarkers.h:205:44: note: expanded from macro 'QT_DEPRECATED_VERSION_X_6_8' 205 | # define QT_DEPRECATED_VERSION_X_6_8(text) QT_DEPRECATED_X(text) | ^ /Users/kkoehne/Qt/6.10.0/macos/lib/QtCore.framework/Headers/qtdeprecationmarkers.h:29:33: note: expanded from macro 'QT_DEPRECATED_X' 29 | # define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text) | ^ /Users/kkoehne/Qt/6.10.0/macos/lib/QtCore.framework/Headers/qcompilerdetection.h:1011:36: note: expanded from macro 'Q_DECL_DEPRECATED_X' 1011 | # define Q_DECL_DEPRECATED_X(x) [[deprecated(x)]] | ^ 1 warning generated. [
Attachments
Issue Links
- is required for
-
QTBUG-137075 Make all Qt Application Examples warning free
-
- Open
-