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

[B2Qt 6.8.0 snapshot] 'camera' example does not build on Linux

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 6.8.0
    • Device Creation

    Description

      When trying to build 'camera' example for B2Qt it fails with:

      [7/10] Building CXX object CMakeFiles/camera.dir/metadatadialog.cpp.o
      FAILED: CMakeFiles/camera.dir/metadatadialog.cpp.o 
      /home/qt/RTA/B2Qt_6.8.0/6.8.0/Boot2Qt/imx93-11x11-lpddr4x-evk/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++ --sysroot=/home/qt/RTA/B2Qt_6.8.0/6.8.0/Boot2Qt/imx93-11x11-lpddr4x-evk/toolchain/sysroots/cortexa55-poky-linux -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -I/home/qt/RTA/B2Qt_6.8.0/Examples/Qt-6.8.0/multimedia/camera/camera_autogen/include -isystem /home/qt/RTA/B2Qt_6.8.0/6.8.0/Boot2Qt/imx93-11x11-lpddr4x-evk/toolchain/sysroots/cortexa55-poky-linux/usr/include/QtCore -isystem /home/qt/RTA/B2Qt_6.8.0/6.8.0/Boot2Qt/imx93-11x11-lpddr4x-evk/toolchain/sysroots/cortexa55-poky-linux/usr/lib/mkspecs/linux-g++ -isystem /home/qt/RTA/B2Qt_6.8.0/6.8.0/Boot2Qt/imx93-11x11-lpddr4x-evk/toolchain/sysroots/cortexa55-poky-linux/usr/include/QtGui -isystem /home/qt/RTA/B2Qt_6.8.0/6.8.0/Boot2Qt/imx93-11x11-lpddr4x-evk/toolchain/sysroots/cortexa55-poky-linux/usr/include/QtMultimedia -isystem /home/qt/RTA/B2Qt_6.8.0/6.8.0/Boot2Qt/imx93-11x11-lpddr4x-evk/toolchain/sysroots/cortexa55-poky-linux/usr/include/QtNetwork -isystem /home/qt/RTA/B2Qt_6.8.0/6.8.0/Boot2Qt/imx93-11x11-lpddr4x-evk/toolchain/sysroots/cortexa55-poky-linux/usr/include/QtMultimediaWidgets -isystem /home/qt/RTA/B2Qt_6.8.0/6.8.0/Boot2Qt/imx93-11x11-lpddr4x-evk/toolchain/sysroots/cortexa55-poky-linux/usr/include/QtWidgets -mcpu=cortex-a55+crypto -mbranch-protection=standard -fstack-protector-strong   -Wformat -Wformat-security -Werror=format-security --sysroot=/home/qt/RTA/B2Qt_6.8.0/6.8.0/Boot2Qt/imx93-11x11-lpddr4x-evk/toolchain/sysroots/cortexa55-poky-linux -MD -MT CMakeFiles/camera.dir/metadatadialog.cpp.o -MF CMakeFiles/camera.dir/metadatadialog.cpp.o.d -o CMakeFiles/camera.dir/metadatadialog.cpp.o -c /home/qt/RTA/B2Qt_6.8.0/Examples/Qt-6.8.0/multimedia/camera/metadatadialog.cpp
      /home/qt/RTA/B2Qt_6.8.0/Examples/Qt-6.8.0/multimedia/camera/metadatadialog.cpp: In constructor ‘MetaDataDialog::MetaDataDialog(QWidget*)’:
      /home/qt/RTA/B2Qt_6.8.0/Examples/Qt-6.8.0/multimedia/camera/metadatadialog.cpp:68:30: error: ‘HasHdrContent’ is not a member of ‘QMediaMetaData’
         68 |         case QMediaMetaData::HasHdrContent:
            |                              ^~~~~~~~~~~~~
      [8/10] Building CXX object CMakeFiles/camera.dir/videosettings.cpp.o
      ninja: build stopped: subcommand failed.

      Attachments

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

        Activity

          People

            mipohjan Milla Pohjanheimo
            mipohjan Milla Pohjanheimo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes