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

error: ‘defaultInputDevice’ is not a member of ‘QAudioDeviceInfo’

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.5.2, 6.6.0
    • 6.2.0 FF
    • Charts
    • None
    • 8f4629814 (dev), cf7c6bd49 (6.5)

    Description

      I/home/qt/work/install/target/include/QtCore -I.moc -I/home/qt/work/install/target/mkspecs/devices/linux-imx7-g++ -o .obj/widget.o /home/qt/work/qt/qtcharts/examples/charts/audio/widget.cpp
      agent:2021/06/03 08:20:22 build.go:391: /home/qt/work/qt/qtcharts/examples/charts/audio/main.cpp: In function ‘int main(int, char**)’:
      agent:2021/06/03 08:20:22 build.go:391: /home/qt/work/qt/qtcharts/examples/charts/audio/main.cpp:40:60: error: ‘defaultInputDevice’ is not a member of ‘QAudioDeviceInfo’
      agent:2021/06/03 08:20:22 build.go:391:    40 |     const QAudioDeviceInfo inputDevice = QAudioDeviceInfo::defaultInputDevice();
      agent:2021/06/03 08:20:22 build.go:391:       |                                                            ^~~~~~~~~~~~~~~~~~
      agent:2021/06/03 08:20:23 build.go:391: make[2]: *** [Makefile:824: .obj/main.o] Error 1
      agent:2021/06/03 08:20:23 build.go:391: make[2]: *** Waiting for unfinished jobs....
      

      Build log: https://testresults.qt.io/logs/qt/qtcharts/f5a629cc2b6f69c3f6a7b87b23ee2655761b6d1e/MacOSMacOS_11_00x86_64MacOSMacOS_11_00x86_64Clangqtci-macos-11.0-x86_64-102-8b9786Sccache/3b23c4d51561823c96a81c67f8fd468b84d8ea50/build_1622706877/log.txt.gz

      Details: https://testresults.qt.io/coin/integration/qt/qt5/tasks/1622706116

      Tested changes (refs/builds/qtci/dev/1622706114):
      https://codereview.qt-project.org/c/qt/qt5/+/351356/2 Switch webview builds to cmake
      https://codereview.qt-project.org/c/qt/qt5/+/351816/3 Restore qtmultimedia as a addon in qt5.git
      https://codereview.qt-project.org/c/qt/qt5/+/352521/1 Restore qtwebview as a addon in qt5.git

      Attachments

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

        Activity

          People

            e0348803 Miikka Heikkinen
            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