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

error: implicit instantiation of undefined template 'TestNamespace::QVarLengthArray<double, 16>'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P0: Blocker
    • None
    • 6.10.0 FF
    • SVG Support
    • None
    • macOS

    Description

      src/quickvectorimage/CMakeFiles/QuickVectorImageGeneratorPrivate.dir/generator/qquickgenerator.cpp.o.d -o src/quickvectorimage/CMakeFiles/QuickVectorImageGeneratorPrivate.dir/generator/qquickgenerator.cpp.o -c /Users/qt/work/qt/qtdeclarative/src/quickvectorimage/generator/qquickgenerator.cpp
      In file included from /Users/qt/work/qt/qtdeclarative/src/quickvectorimage/generator/qquickgenerator.cpp:5:
      In file included from /Users/qt/work/qt/qtdeclarative/src/quickvectorimage/generator/qsvgvisitorimpl_p.h:18:
      In file included from /Users/qt/work/install/include/QtSvg/6.10.0/QtSvg/private/qsvgvisitor_p.h:18:
      In file included from /Users/qt/work/install/include/QtSvg/6.10.0/QtSvg/private/qsvgtinydocument_p.h:29:
      In file included from /Users/qt/work/install/include/QtSvg/6.10.0/QtSvg/private/qsvganimator_p.h:20:
      In file included from /Users/qt/work/install/include/QtSvg/6.10.0/QtSvg/private/qsvgabstractanimation_p.h:19:
      /Users/qt/work/install/include/QtSvg/6.10.0/QtSvg/private/qsvganimatedproperty_p.h:102:36: error: implicit instantiation of undefined template 'TestNamespace::QVarLengthArray<double, 16>'
              QVarLengthArray<qreal, 16> values;
                                         ^
      /Users/qt/work/install/include/QtCore/qcontainerfwd.h:35:82: note: template is declared here
      template <typename T, qsizetype Prealloc = QVarLengthArrayDefaultPrealloc> class QVarLengthArray;
                                                                                       ^
      1 error generated.
      Sccache command failed, re-try calling build tool directly
      In file included from /Users/qt/work/qt/qtdeclarative/src/quickvectorimage/generator/qquickgenerator.cpp:5:
      In file included from /Users/qt/work/qt/qtdeclarative/src/quickvectorimage/generator/qsvgvisitorimpl_p.h:18:
      In file included from /Users/qt/work/install/include/QtSvg/6.10.0/QtSvg/private/qsvgvisitor_p.h:18:
      In file included from /Users/qt/work/install/include/QtSvg/6.10.0/QtSvg/private/qsvgtinydocument_p.h:29:
      In file included from /Users/qt/work/install/include/QtSvg/6.10.0/QtSvg/private/qsvganimator_p.h:20:
      In file included from /Users/qt/work/install/include/QtSvg/6.10.0/QtSvg/private/qsvgabstractanimation_p.h:19:
      /Users/qt/work/install/include/QtSvg/6.10.0/QtSvg/private/qsvganimatedproperty_p.h:102:36: error: implicit instantiation of undefined template 'TestNamespace::QVarLengthArray<double, 16>'
              QVarLengthArray<qreal, 16> values;
                                         ^
      /Users/qt/work/install/include/QtCore/qcontainerfwd.h:35:82: note: template is declared here
      template <typename T, qsizetype Prealloc = QVarLengthArrayDefaultPrealloc> class QVarLengthArray;
                                                                                       ^
      1 error generated.
      

      Build log: https://testresults.qt.io/logs/qt/qtdeclarative/4cf3381532e4829dd48f4f1baaeb13524464f380/MacOSMacOS_14x86_64MacOSMacOS_14x86_64Clangqtci-macos-14-x86_64-105-f992d0Sccache_StandaloneExamples_UseConfigure_WarningsAreErrors/e895e08650a04b545d9b660a7816916015360527/build_1745822478/log.txt.gz

      Details: https://testresults.qt.io/coin/integration/qt/qtdeclarative/tasks/1745822402

      Tested changes (refs/builds/qtci/dev/1745822401):
      https://codereview.qt-project.org/c/qt/qtdeclarative/+/638985/1 Adapt to refactor of transform anims in Qt Svg
      https://codereview.qt-project.org/c/qt/qtdeclarative/+/642204/2 Update dependencies on 'dev' in qt/qtdeclarative

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            janihe Jani Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes