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

error: ‘QElapsedTimer’ was not declared in this scope

    XMLWordPrintable

Details

    • Linux/X11
    • 644f4d04c (dev), f1bf5e13c (6.9), 5db425119 (6.8), a1bb8b9fe (tqtc/lts-6.5)

    Description

      /home/qt/work/qt/qtserialbus/tests/auto/qcanbusdevice/tst_qcanbusdevice.cpp: In member function ‘void tst_QCanBusDevice::tst_waitForFramesReceived()’:
      /home/qt/work/qt/qtserialbus/tests/auto/qcanbusdevice/tst_qcanbusdevice.cpp:566:5: error: ‘QElapsedTimer’ was not declared in this scope; did you mean ‘QBasicTimer’?
        566 |     QElapsedTimer elapsed;
            |     ^~~~~~~~~~~~~
            |     QBasicTimer
      /home/qt/work/qt/qtserialbus/tests/auto/qcanbusdevice/tst_qcanbusdevice.cpp:567:5: error: ‘elapsed’ was not declared in this scope; did you mean ‘erase’?
        567 |     elapsed.start();
            |     ^~~~~~~
            |     erase
      /home/qt/work/qt/qtserialbus/tests/auto/qcanbusdevice/tst_qcanbusdevice.cpp: In member function ‘void tst_QCanBusDevice::tst_waitForFramesWritten()’:
      /home/qt/work/qt/qtserialbus/tests/auto/qcanbusdevice/tst_qcanbusdevice.cpp:653:5: error: ‘QElapsedTimer’ was not declared in this scope; did you mean ‘QBasicTimer’?
        653 |     QElapsedTimer elapsed;
            |     ^~~~~~~~~~~~~
            |     QBasicTimer
      /home/qt/work/qt/qtserialbus/tests/auto/qcanbusdevice/tst_qcanbusdevice.cpp:654:5: error: ‘elapsed’ was not declared in this scope; did you mean ‘erase’?
        654 |     elapsed.start();
            |     ^~~~~~~
            |     erase
      Sccache command failed, re-try calling build tool directly
      /home/qt/work/qt/qtserialbus/tests/auto/qcanbusdevice/tst_qcanbusdevice.cpp: In member function ‘void tst_QCanBusDevice::tst_waitForFramesReceived()’:
      /home/qt/work/qt/qtserialbus/tests/auto/qcanbusdevice/tst_qcanbusdevice.cpp:566:5: error: ‘QElapsedTimer’ was not declared in this scope; did you mean ‘QBasicTimer’?
        566 |     QElapsedTimer elapsed;
            |     ^~~~~~~~~~~~~
            |     QBasicTimer
      /home/qt/work/qt/qtserialbus/tests/auto/qcanbusdevice/tst_qcanbusdevice.cpp:567:5: error: ‘elapsed’ was not declared in this scope; did you mean ‘erase’?
        567 |     elapsed.start();
            |     ^~~~~~~
            |     erase
      /home/qt/work/qt/qtserialbus/tests/auto/qcanbusdevice/tst_qcanbusdevice.cpp: In member function ‘void tst_QCanBusDevice::tst_waitForFramesWritten()’:
      /home/qt/work/qt/qtserialbus/tests/auto/qcanbusdevice/tst_qcanbusdevice.cpp:653:5: error: ‘QElapsedTimer’ was not declared in this scope; did you mean ‘QBasicTimer’?
        653 |     QElapsedTimer elapsed;
            |     ^~~~~~~~~~~~~
            |     QBasicTimer
      /home/qt/work/qt/qtserialbus/tests/auto/qcanbusdevice/tst_qcanbusdevice.cpp:654:5: error: ‘elapsed’ was not declared in this scope; did you mean ‘erase’?
        654 |     elapsed.start();
            |     ^~~~~~~
            |     erase
      ninja: build stopped: subcommand failed.
      Process finished with error: exit status 1
      

      Build log: https://testresults.qt.io/logs/qt/qtserialbus/3c82e530296abad907d152caf1d2354cb92be5f8/LinuxUbuntu_22_04x86_64LinuxUbuntu_22_04x86_64GCCqtci-linux-Ubuntu-22.04-x86_64-51-a8d8d6DocsGenerationV2_GenerateSBOM_Sccache_UseConfigure_VerifySBOM/a7618b92c2bbf629e763b008c63db382879c3388/build_1743149943/log.txt.gz

      Details: https://testresults.qt.io/coin/integration/qt/qtserialbus/tasks/1743149940

      Tested changes (refs/builds/qtci/dev/1743149236):
      https://codereview.qt-project.org/c/qt/qtserialbus/+/635373/2 Update dependencies on 'dev' in qt/qtserialbus

      Attachments

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

        Activity

          People

            liaqi Liang Qi
            janihe Jani Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes