Task #119407 - fixed.err

back to task #119407
download
Error: COMPILER_WARNING (CWE-477):
qtlocation-everywhere-src-6.10.2/src/location/declarativeplaces/qdeclarativecontactdetails.cpp: scope_hint: In constructor ‘QDeclarativeContactDetails::QDeclarativeContactDetails(QObject*)’
qtlocation-everywhere-src-6.10.2/src/location/declarativeplaces/qdeclarativecontactdetails.cpp:68:29: warning[-Wdeprecated-declarations]: ‘QQmlPropertyMap::QQmlPropertyMap(QObject*)’ is deprecated: Use create() or the protected two-argument constructor instead.
#   68 |     : QQmlPropertyMap(parent)
#      |                             ^
/usr/include/qt6/QtQml/QtQml:34: included_from: Included from here.
/usr/include/qt6/QtPositioningQuick/QtPositioningQuickDepends:5: included_from: Included from here.
/usr/include/qt6/QtPositioningQuick/QtPositioningQuick:3: included_from: Included from here.
qtlocation-everywhere-src-6.10.2/redhat-linux-build/src/location/CMakeFiles/Location.dir/cmake_pch.hxx:7: included_from: Included from here.
<command-line>: included_from: Included from here.
/usr/include/qt6/QtQml/qqmlpropertymap.h:28:14: note: declared here
#   28 |     explicit QQmlPropertyMap(QObject *parent = nullptr);
#      |              ^~~~~~~~~~~~~~~
#   66|   */
#   67|   QDeclarativeContactDetails::QDeclarativeContactDetails(QObject *parent)
#   68|->     : QQmlPropertyMap(parent)
#   69|   {
#   70|   }

Error: COMPILER_WARNING (CWE-477):
qtlocation-everywhere-src-6.10.2/src/location/declarativeplaces/qdeclarativeplace.cpp: scope_hint: In constructor ‘QDeclarativePlace::QDeclarativePlace(QObject*)’
qtlocation-everywhere-src-6.10.2/src/location/declarativeplaces/qdeclarativeplace.cpp:152:50: warning[-Wdeprecated-declarations]: ‘QQmlPropertyMap::QQmlPropertyMap(QObject*)’ is deprecated: Use create() or the protected two-argument constructor instead.
#  152 |     m_extendedAttributes(new QQmlPropertyMap(this)),
#      |                                                  ^
/usr/include/qt6/QtQml/QtQml:34: included_from: Included from here.
/usr/include/qt6/QtPositioningQuick/QtPositioningQuickDepends:5: included_from: Included from here.
/usr/include/qt6/QtPositioningQuick/QtPositioningQuick:3: included_from: Included from here.
qtlocation-everywhere-src-6.10.2/redhat-linux-build/src/location/CMakeFiles/Location.dir/cmake_pch.hxx:7: included_from: Included from here.
<command-line>: included_from: Included from here.
/usr/include/qt6/QtQml/qqmlpropertymap.h:28:14: note: declared here
#   28 |     explicit QQmlPropertyMap(QObject *parent = nullptr);
#      |              ^~~~~~~~~~~~~~~
#  150|   QDeclarativePlace::QDeclarativePlace(QObject *parent)
#  151|   :   QObject(parent),
#  152|->     m_extendedAttributes(new QQmlPropertyMap(this)),
#  153|       m_contactDetails(new QDeclarativeContactDetails(this))
#  154|   {

Error: COMPILER_WARNING (CWE-477):
qtlocation-everywhere-src-6.10.2/src/location/declarativeplaces/qdeclarativeplace.cpp: scope_hint: In constructor ‘QDeclarativePlace::QDeclarativePlace(const QPlace&, QDeclarativeGeoServiceProvider*, QObject*)’
qtlocation-everywhere-src-6.10.2/src/location/declarativeplaces/qdeclarativeplace.cpp:163:50: warning[-Wdeprecated-declarations]: ‘QQmlPropertyMap::QQmlPropertyMap(QObject*)’ is deprecated: Use create() or the protected two-argument constructor instead.
#  163 |     m_extendedAttributes(new QQmlPropertyMap(this)),
#      |                                                  ^
/usr/include/qt6/QtQml/qqmlpropertymap.h:28:14: note: declared here
#   28 |     explicit QQmlPropertyMap(QObject *parent = nullptr);
#      |              ^~~~~~~~~~~~~~~
#  161|   QDeclarativePlace::QDeclarativePlace(const QPlace &src, QDeclarativeGeoServiceProvider *plugin, QObject *parent)
#  162|   :   QObject(parent),
#  163|->     m_extendedAttributes(new QQmlPropertyMap(this)),
#  164|       m_contactDetails(new QDeclarativeContactDetails(this)),
#  165|       m_plugin(plugin)