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

qqmlpreviewfileengine.h:68:24: error: ‘FileTime’ has not been declared

    XMLWordPrintable

Details

    • Linux/X11

    Description

      In file included from /home/qt/work/qt/qtdeclarative/src/plugins/qmltooling/qmldbg_preview/qqmlpreviewfileengine.cpp:4:
      /home/qt/work/qt/qtdeclarative/src/plugins/qmltooling/qmldbg_preview/qqmlpreviewfileengine.h:68:24: error: ‘FileTime’ has not been declared
         68 |     QDateTime fileTime(FileTime time) const override;
            |                        ^~~~~~~~
      /home/qt/work/qt/qtdeclarative/src/plugins/qmltooling/qmldbg_preview/qqmlpreviewfileengine.h:68:15: error: ‘QDateTime QQmlPreviewFileEngine::fileTime(int) const’ marked ‘override’, but does not override
         68 |     QDateTime fileTime(FileTime time) const override;
            |               ^~~~~~~~
      /home/qt/work/qt/qtdeclarative/src/plugins/qmltooling/qmldbg_preview/qqmlpreviewfileengine.cpp:330:11: error: ‘QDateTime QQmlPreviewFileEngine::fileTime’ is not a static data member of ‘class QQmlPreviewFileEngine’
        330 | QDateTime QQmlPreviewFileEngine::fileTime(FileTime time) const
            |           ^~~~~~~~~~~~~~~~~~~~~
      /home/qt/work/qt/qtdeclarative/src/plugins/qmltooling/qmldbg_preview/qqmlpreviewfileengine.cpp:330:43: error: ‘FileTime’ was not declared in this scope; did you mean ‘fileTime’?
        330 | QDateTime QQmlPreviewFileEngine::fileTime(FileTime time) const
            |                                           ^~~~~~~~
            |                                           fileTime
      /home/qt/work/qt/qtdeclarative/src/plugins/qmltooling/qmldbg_preview/qqmlpreviewfileengine.cpp:330:58: error: expected ‘,’ or ‘;’ before ‘const’
        330 | QDateTime QQmlPreviewFileEngine::fileTime(FileTime time) const
            |                                                          ^~~~~
      Sccache command failed, re-try calling build tool directly
      In file included from /home/qt/work/qt/qtdeclarative/src/plugins/qmltooling/qmldbg_preview/qqmlpreviewfileengine.cpp:4:
      /home/qt/work/qt/qtdeclarative/src/plugins/qmltooling/qmldbg_preview/qqmlpreviewfileengine.h:68:24: error: ‘FileTime’ has not been declared
         68 |     QDateTime fileTime(FileTime time) const override;
            |                        ^~~~~~~~
      /home/qt/work/qt/qtdeclarative/src/plugins/qmltooling/qmldbg_preview/qqmlpreviewfileengine.h:68:15: error: ‘QDateTime QQmlPreviewFileEngine::fileTime(int) const’ marked ‘override’, but does not override
         68 |     QDateTime fileTime(FileTime time) const override;
            |               ^~~~~~~~
      /home/qt/work/qt/qtdeclarative/src/plugins/qmltooling/qmldbg_preview/qqmlpreviewfileengine.cpp:330:11: error: ‘QDateTime QQmlPreviewFileEngine::fileTime’ is not a static data member of ‘class QQmlPreviewFileEngine’
        330 | QDateTime QQmlPreviewFileEngine::fileTime(FileTime time) const
            |           ^~~~~~~~~~~~~~~~~~~~~
      /home/qt/work/qt/qtdeclarative/src/plugins/qmltooling/qmldbg_preview/qqmlpreviewfileengine.cpp:330:43: error: ‘FileTime’ was not declared in this scope; did you mean ‘fileTime’?
        330 | QDateTime QQmlPreviewFileEngine::fileTime(FileTime time) const
            |                                           ^~~~~~~~
            |                                           fileTime
      /home/qt/work/qt/qtdeclarative/src/plugins/qmltooling/qmldbg_preview/qqmlpreviewfileengine.cpp:330:58: error: expected ‘,’ or ‘;’ before ‘const’
        330 | QDateTime QQmlPreviewFileEngine::fileTime(FileTime time) const
            |                                                          ^~~~~
      

      Build log: https://testresults.qt.io/logs/qt/qtdeclarative/e5f54d1ed07db5c9ed22d0caf47fd13ae40bc648/LinuxUbuntu_22_04x86_64LinuxUbuntu_22_04x86_64GCCqtci-linux-Ubuntu-22.04-x86_64-51-946fa5Sccache_UseConfigure/6d01564bdb7b45ba17b1c8ebaf1e63945d55140d/build_1711339502/log.txt.gz

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

      Tested changes (refs/builds/qtci/6.7/1711339377):
      https://codereview.qt-project.org/c/qt/qtdeclarative/+/550882/2 Update dependencies on '6.7' in qt/qtdeclarative

      Attachments

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

        Activity

          People

            fabiankosmale Fabian Kosmale
            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