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

tst_qqmlengine.cpp:907:38: error: no matching constructor for initialization of 'QQmlRefPointer<TestNamespace::QQmlTypeData>'

    XMLWordPrintable

Details

    • 2044d0a03bafa4597863eb2bf3ecb8fa6731ed57

    Description

      https://codereview.qt-project.org/#/c/227813/ Merge remote-tracking branch 'origin/5.11' into dev

      https://testresults.qt.io/coin/integration/qt/qtdeclarative/tasks/1525880324

      https://testresults.qt.io/logs/qt/qtdeclarative/f8bdc182bdad9aa8e2f9fa47907eab94a123bc9a/LinuxUbuntu_16_04x86_64LinuxQEMUarm64GCCqtci-linux-Ubuntu-16.04-x86_64-2-652264Release/b3969a7a0c53d5882ee9ca923c50d244a22e2f9b/test_1525880449/log.txt.gz

      /home/qt/work/install/bin/moc -DQT_QMLTEST_DATADIR=\"/home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlengine/data\" -DSKIP_GCCORRUPTION_TEST -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlengine"' --include .moc/moc_predefs.h -I/home/qt/work/install/mkspecs/devices/linux-generic-g++ -I/home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlengine -I/home/qt/work/qt/qtdeclarative/tests/auto/shared -I/home/qt/work/install/include/QtGui/5.12.0 -I/home/qt/work/install/include/QtGui/5.12.0/QtGui -I/home/qt/work/install/include -I/home/qt/work/install/include/QtGui -I/home/qt/work/install/include/QtQml/5.12.0 -I/home/qt/work/install/include/QtQml/5.12.0/QtQml -I/home/qt/work/install/include/QtCore/5.12.0 -I/home/qt/work/install/include/QtCore/5.12.0/QtCore -I/home/qt/work/install/include/QtQml -I/home/qt/work/install/include/QtNetwork -I/home/qt/work/install/include/QtTest -I/home/qt/work/install/include/QtCore -I/opt/yocto-arm64/sysroots/aarch64-poky-linux/usr/include/c++/6.3.0 -I/opt/yocto-arm64/sysroots/aarch64-poky-linux/usr/include/c++/6.3.0/aarch64-poky-linux -I/opt/yocto-arm64/sysroots/aarch64-poky-linux/usr/include/c++/6.3.0/backward -I/opt/yocto-arm64/sysroots/x86_64-pokysdk-linux/usr/lib/aarch64-poky-linux/gcc/aarch64-poky-linux/6.3.0/include -I/opt/yocto-arm64/sysroots/aarch64-poky-linux/usr/lib/gcc/aarch64-poky-linux/6.3.0/include -I/opt/yocto-arm64/sysroots/x86_64-pokysdk-linux/usr/lib/aarch64-poky-linux/gcc/aarch64-poky-linux/6.3.0/include-fixed -I/opt/yocto-arm64/sysroots/aarch64-poky-linux/usr/include tst_qqmlengine.cpp -o .moc/tst_qqmlengine.moc
       /opt/yocto-arm64/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++ -c -pipe --sysroot=/opt/yocto-arm64/sysroots/aarch64-poky-linux -O2 -Wall -W -D_REENTRANT -fPIC -DQT_QMLTEST_DATADIR=\"/home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlengine/data\" -DSKIP_GCCORRUPTION_TEST -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlengine"' -I. -I../../shared -I/home/qt/work/install/include/QtGui/5.12.0 -I/home/qt/work/install/include/QtGui/5.12.0/QtGui -I/home/qt/work/install/include -I/home/qt/work/install/include/QtGui -I/home/qt/work/install/include/QtQml/5.12.0 -I/home/qt/work/install/include/QtQml/5.12.0/QtQml -I/home/qt/work/install/include/QtCore/5.12.0 -I/home/qt/work/install/include/QtCore/5.12.0/QtCore -I/home/qt/work/install/include/QtQml -I/home/qt/work/install/include/QtNetwork -I/home/qt/work/install/include/QtTest -I/home/qt/work/install/include/QtCore -I.moc -I/home/qt/work/install/mkspecs/devices/linux-generic-g++ -o .obj/tst_qqmlengine.o tst_qqmlengine.cpp
       tst_qqmlengine.cpp: In member function ‘void tst_qqmlengine::qrcUrls()’:
       tst_qqmlengine.cpp:908:80: error: no matching function for call to ‘QQmlRefPointer<QQmlTypeData>::QQmlRefPointer(QQmlRefPointer<QQmlTypeData>, QQmlRefPointer<QQmlTypeData>::Mode)’
       In file included from /home/qt/work/install/include/QtQml/5.12.0/QtQml/private/qv4compileddata_p.h:61:0,
                        from /home/qt/work/install/include/QtQml/5.12.0/QtQml/private/qv4compiler_p.h:58,
                        from /home/qt/work/install/include/QtQml/5.12.0/QtQml/private/qqmlirbuilder_p.h:55,
                        from /home/qt/work/install/include/QtQml/5.12.0/QtQml/private/qqmltypeloader_p.h:72,
                        from /home/qt/work/install/include/QtQml/5.12.0/QtQml/private/qqmlengine_p.h:56,
                        from tst_qqmlengine.cpp:45:
       /home/qt/work/install/include/QtQml/5.12.0/QtQml/private/qqmlrefcount_p.h:164:1: note: candidate: QQmlRefPointer<T>::QQmlRefPointer(QQmlRefPointer<T>&&) [with T = QQmlTypeData]
       /home/qt/work/install/include/QtQml/5.12.0/QtQml/private/qqmlrefcount_p.h:164:1: note:   candidate expects 1 argument, 2 provided
       /home/qt/work/install/include/QtQml/5.12.0/QtQml/private/qqmlrefcount_p.h:157:1: note: candidate: QQmlRefPointer<T>::QQmlRefPointer(const QQmlRefPointer<T>&) [with T = QQmlTypeData]
       /home/qt/work/install/include/QtQml/5.12.0/QtQml/private/qqmlrefcount_p.h:157:1: note:   candidate expects 1 argument, 2 provided
       /home/qt/work/install/include/QtQml/5.12.0/QtQml/private/qqmlrefcount_p.h:149:1: note: candidate: QQmlRefPointer<T>::QQmlRefPointer(T*, QQmlRefPointer<T>::Mode) [with T = QQmlTypeData]
       /home/qt/work/install/include/QtQml/5.12.0/QtQml/private/qqmlrefcount_p.h:149:1: note:   no known conversion for argument 1 from ‘QQmlRefPointer<QQmlTypeData>’ to ‘QQmlTypeData*’
       /home/qt/work/install/include/QtQml/5.12.0/QtQml/private/qqmlrefcount_p.h:143:1: note: candidate: QQmlRefPointer<T>::QQmlRefPointer() [with T = QQmlTypeData]
       /home/qt/work/install/include/QtQml/5.12.0/QtQml/private/qqmlrefcount_p.h:143:1: note:   candidate expects 0 arguments, 2 provided
       In file included from /home/qt/work/install/include/QtTest/qtest.h:45:0,
                        from /home/qt/work/install/include/QtTest/QTest:1,
                        from ../../shared/util.h:36,
                        from tst_qqmlengine.cpp:29:
       tst_qqmlengine.cpp:909:24: error: no match foroperator!=’ (operand types are ‘QQmlRefPointer<QQmlTypeData>’ and ‘std::nullptr_t’)
       /home/qt/work/install/include/QtCore/qstring.h:1263:32: note:   no known conversion for argument 1 from ‘QQmlRefPointer<QQmlTypeData>’ to ‘const char*’
       /home/qt/work/install/include/QtCore/qstring.h:1206:13: note: candidate: bool operator!=(QLatin1String, QLatin1String)
       /home/qt/work/install/include/QtCore/qstring.h:1206:13: note:   no known conversion for argument 1 from ‘QQmlRefPointer<QQmlTypeData>’ to ‘QLatin1String’
       /home/qt/work/install/include/QtCore/qstring.h:1201:13: note: candidate: bool operator!=(const QString&, QString::Null)
       /home/qt/work/install/include/QtCore/qstring.h:1201:13: note:   no known conversion for argument 1 from ‘QQmlRefPointer<QQmlTypeData>’ to ‘const QString&’
       /home/qt/work/install/include/QtCore/qstring.h:1199:13: note: candidate: bool operator!=(QString::Null, const QString&)
       /home/qt/work/install/include/QtCore/qstring.h:1199:13: note:   no known conversion for argument 1 from ‘QQmlRefPointer<QQmlTypeData>’ to ‘QString::Null’
       /home/qt/work/install/include/QtCore/qstring.h:1197:13: note: candidate: bool operator!=(QString::Null, QString::Null)
       /home/qt/work/install/include/QtCore/qstring.h:1197:13: note:   no known conversion for argument 1 from ‘QQmlRefPointer<QQmlTypeData>’ to ‘QString::Null’
       /home/qt/work/install/include/QtCore/qstring.h:1801:32: note: candidate: bool operator!=(const char*, const QStringRef&)
       /home/qt/work/install/include/QtCore/qstring.h:1801:32: note:   no known conversion for argument 1 from ‘QQmlRefPointer<QQmlTypeData>’ to ‘const char*’
       /home/qt/work/install/include/QtCore/qstring.h:1250:32: note: candidate: bool operator!=(const char*, const QString&)
       /home/qt/work/install/include/QtCore/qstring.h:1250:32: note:   no known conversion for argument 1 from ‘QQmlRefPointer<QQmlTypeData>’ to ‘const char*’
      ...
      

      Attachments

        Activity

          People

            liaqi Liang Qi
            liaqi Liang Qi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: