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

error: only virtual member functions can be marked 'override'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P0: Blocker
    • None
    • 6.0.0 Beta1
    • Qt3D
    • None

    Description

      agent:2020/10/05 15:23:19 build.go:379: qt3dquick_global.cpp:269:64: error: only virtual member functions can be marked 'override'
      agent:2020/10/05 15:23:19 build.go:379:     bool create(int type, const QJSValue &params, QVariant *v) override
      agent:2020/10/05 15:23:20 build.go:379:                                                                ^~~~~~~~
      agent:2020/10/05 15:23:20 build.go:379: qt3dquick_global.cpp:415:5: error: use of undeclared identifier 'QQml_addValueTypeProvider'
      agent:2020/10/05 15:23:20 build.go:379:     QQml_addValueTypeProvider(getValueTypeProvider());
      agent:2020/10/05 15:23:20 build.go:379:     ^
      agent:2020/10/05 15:23:21 build.go:379: /Applications/Xcode11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=c++1z -fapplication-extension  -arch x86_64 -isysroot /Applications/Xcode11.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.14 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -Wextra -Winconsistent-missing-override -Wobjc-interface-ivars -Wobjc-method-access -Wobjc-multiple-method-names -Werror=unguarded-availability -Werror=unguarded-availability-new -Werror=unsupported-availability-guard -fPIC -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DGL_SILENCE_DEPRECATION -DQT_BUILD_3DLOGIC_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_3DCORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_NAMESPACE=TestNamespace -I. -I. -I../../include -I../../include/Qt3DLogic -I../../include/Qt3DLogic/6.0.0 -I../../include/Qt3DLogic/6.0.0/Qt3DLogic -I../../include/Qt3DCore/6.0.0 -I../../include/Qt3DCore/6.0.0/Qt3DCore -I../../include/Qt3DCore -I/Users/qt/work/install/include/QtGui/6.0.0 -I/Users/qt/work/install/include/QtGui/6.0.0/QtGui -I/Users/qt/work/install/include/QtCore/6.0.0 -I/Users/qt/work/install/include/QtCore/6.0.0/QtCore -I/Users/qt/work/install/include -I/Users/qt/work/install/include/QtGui -I/Users/qt/work/install/include/QtNetwork -I/Users/qt/work/install/include/QtConcurrent -I/Users/qt/work/install/include/QtCore -I.moc -I/Applications/Xcode11.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode11.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/AGL.framework/Headers -I/usr/local/opt/openssl/include -I/Users/qt/work/install/mkspecs/macx-clang -o .obj/manager.o manager.cpp
      agent:2020/10/05 15:23:21 build.go:379: 2 errors generated.
      agent:2020/10/05 15:23:21 build.go:379: make[2]: *** [.obj/qt3dquick_global.o] Error 1
      agent:2020/10/05 15:23:21 build.go:379: make[1]: *** [sub-quick3d-core-make_first] Error 2
      agent:2020/10/05 15:23:21 build.go:379: make[1]: *** Waiting for unfinished jobs....
      

      Build log: https://testresults.qt.io/logs/qt/qt3d/b20ce48f092fc380585fc6e08c8e832ab0a55d6a/MacOSMacOS_10_14x86_64MacOSMacOS_10_14x86_64Clangqtci-macos-10.14-x86_64-d68bb9DisableTests_UseLegacyInstructions/1810f2fc2332f0da0c21d6c446abb4ed6cf78932/build_1601911079/log.txt.gz

      Details: https://testresults.qt.io/coin/integration/qt/qt3d/tasks/1601910924

      Tested changes (refs/builds/qtci/dev/1601910922):
      https://codereview.qt-project.org/c/qt/qt3d/+/316319/1 Update dependencies on 'dev' in qt/qt3d

      Attachments

        For Gerrit Dashboard: QTBUG-87184
        # Subject Branch Project Status CR V

        Activity

          People

            mkrus Mike Krus
            janihe Jani Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes