Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-80040

qtdeclarative: Deprecated warnings during build

    XMLWordPrintable

    Details

    • Commits:
      9b2af0c5f581797e0098494efa93365a2dc6d0bf 02b8c8ed160014c976ca3dd5266d1ef4f557a774 c5675c9c8f549beb9966644277010eb847c72bcd

      Description

      /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmltype.cpp: In member function ‘int QQmlType::attachedPropertiesId(QQmlEnginePrivate*) const’:
      /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmltype.cpp:661:44: warning: ‘int QQmlType::attachedPropertiesId(QQmlEnginePrivate*) const’ is deprecated [-Wdeprecated-declarations]
        661 |     return base.attachedPropertiesId(engine);
            |                                            ^
      /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmltype.cpp:651:5: note: declared here
        651 | int QQmlType::attachedPropertiesId(QQmlEnginePrivate *engine) const
            |     ^~~~~~~~
      /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlmetatype.cpp: In static member function ‘static int QQmlMetaType::attachedPropertiesFuncId(QQmlEnginePrivate*, const QMetaObject*)’:
      /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlmetatype.cpp:929:52: warning: ‘int QQmlType::attachedPropertiesId(QQmlEnginePrivate*) const’ is deprecated [-Wdeprecated-declarations]
        929 |             return type.attachedPropertiesId(engine);
            |                                                    ^
      In file included from ../../include/QtQml/5.14.0/QtQml/private/qqmltype_p.h:1,
                       from /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlmetatype_p.h:55,
                       from /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlmetatype.cpp:40:
      ../../include/QtQml/5.14.0/QtQml/private/../../../../../../../../../src/qt/qt5/qtdeclarative/src/qml/qml/qqmltype_p.h:137:23: note: declared here
        137 |     QT_DEPRECATED int attachedPropertiesId(QQmlEnginePrivate *engine) const;
            |                       ^~~~~~~~~~~~~~~~~~~~
      /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlpropertyvalidator.cpp: In member function ‘QQmlJS::DiagnosticMessage QQmlPropertyValidator::validateObjectBinding(QQmlPropertyData*, const QString&, const QV4::CompiledData::Binding*) const’:
      /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlpropertyvalidator.cpp:734:68: warning: ‘QString::QString(const char*)’ is deprecated: Use fromUtf8, QStringLiteral, or QLatin1String [-Wdeprecated-declarations]
        734 |                                                       .arg(typeName));
            |                                                                    ^
      In file included from /home/tjmaciei/obj/qt/qt5-release/qtbase/include/QtCore/qstring.h:1,
                       from /home/tjmaciei/obj/qt/qt5-release/qtbase/include/QtCore/../../../../../../src/qt/qt5/qtbase/src/corelib/io/qurl.h:46,
                       from /home/tjmaciei/obj/qt/qt5-release/qtbase/include/QtCore/qurl.h:1,
                       from ../../include/QtQml/5.14.0/QtQml/private/../../../../../../../../../src/qt/qt5/qtdeclarative/src/qml/qml/qqmlengine.h:43,
                       from ../../include/QtQml/5.14.0/QtQml/private/../../../../../../../../../src/qt/qt5/qtdeclarative/src/qml/qml/qqmlengine_p.h:54,
                       from ../../include/QtQml/5.14.0/QtQml/private/qqmlengine_p.h:1,
                       from /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlpropertyvalidator_p.h:53,
                       from /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlpropertyvalidator.cpp:40:
      /home/tjmaciei/obj/qt/qt5-release/qtbase/include/QtCore/../../../../../../src/qt/qt5/qtbase/src/corelib/text/qstring.h:794:31: note: declared here
        794 |     inline QT_ASCII_CAST_WARN QString(const char *ch)
            |                               ^~~~~~~
      /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlengine.cpp: In function ‘QObject* QtQml::qmlAttachedPropertiesObjectById(int, const QObject*, bool)’:
      /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlengine.cpp:1640:52: warning: ‘static QObject* (* QQmlMetaType::attachedPropertiesFuncById(QQmlEnginePrivate*, int))(QObject*)’ is deprecated [-Wdeprecated-declarations]
       1640 |     return resolveAttachedProperties(QQmlMetaType::attachedPropertiesFuncById(engine, id), data,
            |                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
      In file included from ../../include/QtQml/5.14.0/QtQml/private/qqmlmetatype_p.h:1,
                       from /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmltypeloader_p.h:56,
                       from /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlengine_p.h:56,
                       from /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlengine.cpp:40:
      ../../include/QtQml/5.14.0/QtQml/private/../../../../../../../../../src/qt/qt5/qtdeclarative/src/qml/qml/qqmlmetatype_p.h:127:53: note: declared here
        127 |     static QT_DEPRECATED QQmlAttachedPropertiesFunc attachedPropertiesFuncById(QQmlEnginePrivate *,
            |                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
      /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlengine.cpp:1640:89: warning: ‘static QObject* (* QQmlMetaType::attachedPropertiesFuncById(QQmlEnginePrivate*, int))(QObject*)’ is deprecated [-Wdeprecated-declarations]
       1640 |     return resolveAttachedProperties(QQmlMetaType::attachedPropertiesFuncById(engine, id), data,
            |                                                                                         ^
      In file included from ../../include/QtQml/5.14.0/QtQml/private/qqmlmetatype_p.h:1,
                       from /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmltypeloader_p.h:56,
                       from /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlengine_p.h:56,
                       from /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlengine.cpp:40:
      ../../include/QtQml/5.14.0/QtQml/private/../../../../../../../../../src/qt/qt5/qtdeclarative/src/qml/qml/qqmlmetatype_p.h:127:53: note: declared here
        127 |     static QT_DEPRECATED QQmlAttachedPropertiesFunc attachedPropertiesFuncById(QQmlEnginePrivate *,
            |                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
      /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlengine.cpp:1640:89: warning: ‘static QObject* (* QQmlMetaType::attachedPropertiesFuncById(QQmlEnginePrivate*, int))(QObject*)’ is deprecated [-Wdeprecated-declarations]
       1640 |     return resolveAttachedProperties(QQmlMetaType::attachedPropertiesFuncById(engine, id), data,
            |                                                                                         ^
      In file included from ../../include/QtQml/5.14.0/QtQml/private/qqmlmetatype_p.h:1,
                       from /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmltypeloader_p.h:56,
                       from /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlengine_p.h:56,
                       from /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlengine.cpp:40:
      ../../include/QtQml/5.14.0/QtQml/private/../../../../../../../../../src/qt/qt5/qtdeclarative/src/qml/qml/qqmlmetatype_p.h:127:53: note: declared here
        127 |     static QT_DEPRECATED QQmlAttachedPropertiesFunc attachedPropertiesFuncById(QQmlEnginePrivate *,
            |                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
      /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlengine.cpp: In function ‘QObject* QtQml::qmlAttachedPropertiesObject(int*, const QObject*, const QMetaObject*, bool)’:
      /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlengine.cpp:1649:34: warning: ‘static int QQmlMetaType::attachedPropertiesFuncId(QQmlEnginePrivate*, const QMetaObject*)’ is deprecated [-Wdeprecated-declarations]
       1649 |         *idCache = QQmlMetaType::attachedPropertiesFuncId(engine ? QQmlEnginePrivate::get(engine) : nullptr, attachedMetaObject);
            |                                  ^~~~~~~~~~~~~~~~~~~~~~~~
      In file included from ../../include/QtQml/5.14.0/QtQml/private/qqmlmetatype_p.h:1,
                       from /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmltypeloader_p.h:56,
                       from /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlengine_p.h:56,
                       from /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlengine.cpp:40:
      ../../include/QtQml/5.14.0/QtQml/private/../../../../../../../../../src/qt/qt5/qtdeclarative/src/qml/qml/qqmlmetatype_p.h:125:30: note: declared here
        125 |     static QT_DEPRECATED int attachedPropertiesFuncId(QQmlEnginePrivate *engine,
            |                              ^~~~~~~~~~~~~~~~~~~~~~~~
      /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlengine.cpp:1649:128: warning: ‘static int QQmlMetaType::attachedPropertiesFuncId(QQmlEnginePrivate*, const QMetaObject*)’ is deprecated [-Wdeprecated-declarations]
       1649 |         *idCache = QQmlMetaType::attachedPropertiesFuncId(engine ? QQmlEnginePrivate::get(engine) : nullptr, attachedMetaObject);
            |                                                                                                                                ^
      In file included from ../../include/QtQml/5.14.0/QtQml/private/qqmlmetatype_p.h:1,
                       from /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmltypeloader_p.h:56,
                       from /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlengine_p.h:56,
                       from /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlengine.cpp:40:
      ../../include/QtQml/5.14.0/QtQml/private/../../../../../../../../../src/qt/qt5/qtdeclarative/src/qml/qml/qqmlmetatype_p.h:125:30: note: declared here
        125 |     static QT_DEPRECATED int attachedPropertiesFuncId(QQmlEnginePrivate *engine,
            |                              ^~~~~~~~~~~~~~~~~~~~~~~~
      /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlengine.cpp:1649:128: warning: ‘static int QQmlMetaType::attachedPropertiesFuncId(QQmlEnginePrivate*, const QMetaObject*)’ is deprecated [-Wdeprecated-declarations]
       1649 |         *idCache = QQmlMetaType::attachedPropertiesFuncId(engine ? QQmlEnginePrivate::get(engine) : nullptr, attachedMetaObject);
            |                                                                                                                                ^
      In file included from ../../include/QtQml/5.14.0/QtQml/private/qqmlmetatype_p.h:1,
                       from /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmltypeloader_p.h:56,
                       from /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlengine_p.h:56,
                       from /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlengine.cpp:40:
      ../../include/QtQml/5.14.0/QtQml/private/../../../../../../../../../src/qt/qt5/qtdeclarative/src/qml/qml/qqmlmetatype_p.h:125:30: note: declared here
        125 |     static QT_DEPRECATED int attachedPropertiesFuncId(QQmlEnginePrivate *engine,
            |                              ^~~~~~~~~~~~~~~~~~~~~~~~
      /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlengine.cpp:1655:68: warning: ‘QObject* QtQml::qmlAttachedPropertiesObjectById(int, const QObject*, bool)’ is deprecated: Use qmlAttachedPropertiesObject(QObject *, QQmlAttachedPropertiesFunc, bool [-Wdeprecated-declarations]
       1655 |     return qmlAttachedPropertiesObjectById(*idCache, object, create);
            |                                                                    ^
      /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlengine.cpp:1630:10: note: declared here
       1630 | QObject *qmlAttachedPropertiesObjectById(int id, const QObject *object, bool create)
            |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlengine.cpp:1655:68: warning: ‘QObject* QtQml::qmlAttachedPropertiesObjectById(int, const QObject*, bool)’ is deprecated: Use qmlAttachedPropertiesObject(QObject *, QQmlAttachedPropertiesFunc, bool [-Wdeprecated-declarations]
       1655 |     return qmlAttachedPropertiesObjectById(*idCache, object, create);
            |                                                                    ^
      /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlengine.cpp:1630:10: note: declared here
       1630 | QObject *qmlAttachedPropertiesObjectById(int id, const QObject *object, bool create)
            |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlengine.cpp: In function ‘QObject* qmlAttachedPropertiesObjectById(int, const QObject*, bool)’:
      /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlengine.cpp:1705:19: warning: ‘QObject* QtQml::qmlAttachedPropertiesObjectById(int, const QObject*, bool)’ is deprecated: Use qmlAttachedPropertiesObject(QObject *, QQmlAttachedPropertiesFunc, bool [-Wdeprecated-declarations]
       1705 |     return QtQml::qmlAttachedPropertiesObjectById(id, obj, create);
            |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlengine.cpp:1630:10: note: declared here
       1630 | QObject *qmlAttachedPropertiesObjectById(int id, const QObject *object, bool create)
            |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlengine.cpp:1705:66: warning: ‘QObject* QtQml::qmlAttachedPropertiesObjectById(int, const QObject*, bool)’ is deprecated: Use qmlAttachedPropertiesObject(QObject *, QQmlAttachedPropertiesFunc, bool [-Wdeprecated-declarations]
       1705 |     return QtQml::qmlAttachedPropertiesObjectById(id, obj, create);
            |                                                                  ^
      /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlengine.cpp:1630:10: note: declared here
       1630 | QObject *qmlAttachedPropertiesObjectById(int id, const QObject *object, bool create)
            |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlengine.cpp:1705:66: warning: ‘QObject* QtQml::qmlAttachedPropertiesObjectById(int, const QObject*, bool)’ is deprecated: Use qmlAttachedPropertiesObject(QObject *, QQmlAttachedPropertiesFunc, bool [-Wdeprecated-declarations]
       1705 |     return QtQml::qmlAttachedPropertiesObjectById(id, obj, create);
            |                                                                  ^
      /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlengine.cpp:1630:10: note: declared here
       1630 | QObject *qmlAttachedPropertiesObjectById(int id, const QObject *object, bool create)
            |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlengine.cpp: In function ‘QObject* qmlAttachedPropertiesObject(int*, const QObject*, const QMetaObject*, bool)’:
      /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlengine.cpp:1712:90: warning: ‘QObject* QtQml::qmlAttachedPropertiesObject(int*, const QObject*, const QMetaObject*, bool)’ is deprecated: Use qmlAttachedPropertiesObject(QObject *, QQmlAttachedPropertiesFunc, bool [-Wdeprecated-declarations]
       1712 |     return QtQml::qmlAttachedPropertiesObject(idCache, object, attachedMetaObject, create);
            |                                                                                          ^
      /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlengine.cpp:1644:10: note: declared here
       1644 | QObject *qmlAttachedPropertiesObject(int *idCache, const QObject *object,
            |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlengine.cpp:1712:90: warning: ‘QObject* QtQml::qmlAttachedPropertiesObject(int*, const QObject*, const QMetaObject*, bool)’ is deprecated: Use qmlAttachedPropertiesObject(QObject *, QQmlAttachedPropertiesFunc, bool [-Wdeprecated-declarations]
       1712 |     return QtQml::qmlAttachedPropertiesObject(idCache, object, attachedMetaObject, create);
            |                                                                                          ^
      /home/tjmaciei/src/qt/qt5/qtdeclarative/src/qml/qml/qqmlengine.cpp:1644:10: note: declared here
       1644 | QObject *qmlAttachedPropertiesObject(int *idCache, const QObject *object,
            |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              ulherman Ulf Hermann
              Reporter:
              thiago Thiago Macieira
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes