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

QtMultimedia: Invalid target given to qt_is_imported_target: Qt6::QSGVivanteVideoNodeFactory

    XMLWordPrintable

Details

    • Linux/Yocto
    • 2f616c7453 (qt/qtmultimedia/dev) da94031549 (qt/qtmultimedia/6.2) 44c15a5db8 (qt/qtmultimedia/6.3)

    Description

      I compile qt6.2.2 for imx6 processor. When I run configuration cmake gives me error of qtmultimedia.

      CMake Error at qtbase/cmake/QtTargetHelpers.cmake:148 (message):
        Invalid target given to qt_is_imported_target:
        Qt6::QSGVivanteVideoNodeFactory
      Call Stack (most recent call first):
        qtbase/cmake/QtResourceHelpers.cmake:4 (qt_is_imported_target)
        qtmultimedia/src/plugins/videonode/imx6/CMakeLists.txt:30 (qt_internal_add_resource)
      

      I don't undestand what does mean. Can you help me? Thanks

      Cmake version is 3.22.

      CMAKE OUTPUT is: 
      Configuring 'qtmultimedia'
      – Running syncqt for module: 'QtMultimedia'
      QtMultimedia: created deprecated header(s)

      { qtmultimediadefs.h }

      – Found ALSA: D:/qt6/imx6/sysroot/usr/lib/libasound.so (found version "1.1.2")
      – Could NOT find AVFoundation (missing: AVFoundation_LIBRARY)
      – Checking for module 'gobject-2.0'
      – Found gobject-2.0, version 2.48.2
      – Checking for module 'gstreamer-1.0'
      – Found gstreamer-1.0, version 1.8.3
      – Checking for module 'gstreamer-base-1.0'
      – Found gstreamer-base-1.0, version 1.8.3
      – Checking for module 'gstreamer-audio-1.0'
      – Found gstreamer-audio-1.0, version 1.8.3
      – Checking for module 'gstreamer-video-1.0'
      – Found gstreamer-video-1.0, version 1.8.3
      – Checking for module 'gstreamer-pbutils-1.0'
      – Found gstreamer-pbutils-1.0, version 1.8.3
      – Checking for module 'gstreamer-allocators-1.0'
      – Found gstreamer-allocators-1.0, version 1.8.3
      – Found GStreamer: TRUE
      – Found GLIB2: D:/qt6/imx6/sysroot/usr/lib/libglib-2.0.so
      – Checking for module 'gstreamer-app-1.0'
      – Found gstreamer-app-1.0, version 1.8.3
      – Found GStreamer: TRUE found components: App
      – Found GLIB2: D:/qt6/imx6/sysroot/usr/lib/libglib-2.0.so
      – Checking for module 'gstreamer-photography-1.0'
      – No package 'gstreamer-photography-1.0' found
      – Found GStreamer: TRUE missing components: Photography
      – Found GLIB2: D:/qt6/imx6/sysroot/usr/lib/libglib-2.0.so
      – Checking for module 'gstreamer-gl-1.0'
      – No package 'gstreamer-gl-1.0' found
      – Found GStreamer: TRUE missing components: Gl
      – Found WrapPulseAudio: D:/qt6/imx6/sysroot/usr/lib/libpulse.so
      – Could NOT find WMF (missing: WMF_STRMIIDS_LIBRARY WMF_AMSTRMID_LIBRARY WMF_DMOGUIDS_LIBRARY WMF_MSDMO_LIBRARY WMF_OLE32_LIBRARY WMF_OLEAUT32_LIBRARY WMF_MF_LIBRARY WMF_MFUUID_LIBRARY WMF_MFPLAT_LIBRARY WMF_MFCORE_LIBRARY WMF_PROPSYS_LIBRARY)
      – Performing Test evr.h
      – Performing Test evr.h - Failed
      – Performing Test Vivante GPU
      – Performing Test Vivante GPU - Success
      – Performing Test Video for Linux
      – Performing Test Video for Linux - Success
      – Performing Test wmsdk.h
      – Performing Test wmsdk.h - Failed
      – Performing Test HAVE_linux_dmabuf
      – Performing Test HAVE_linux_dmabuf - Failed
      – Running syncqt for module: 'QtMultimediaQuick'
      – Running syncqt for module: 'QtMultimediaWidgets'
      CMake Warning (dev) at qtbase/cmake/QtPluginHelpers.cmake:57 (message):
      Plugins are not intended to be linked to. They should not have any public
      properties, but QSGVivanteVideoNodeFactoryPlugin sets PUBLIC_LIBRARIES to
      the following value:

      Qt::Core;Qt::Gui;Qt::MultimediaPrivate;Qt::MultimediaQuickPrivate;GStreamer::GStreamer

      Update your project to use LIBRARIES instead.

      Call Stack (most recent call first):
      qtmultimedia/src/plugins/videonode/imx6/CMakeLists.txt:7 (qt_internal_add_plugin)
      This warning is for project developers. Use -Wno-dev to suppress it.

      CMake Error at qtbase/cmake/QtTargetHelpers.cmake:148 (message):
      Invalid target given to qt_is_imported_target:
      Qt6::QSGVivanteVideoNodeFactory
      Call Stack (most recent call first):
      qtbase/cmake/QtResourceHelpers.cmake:4 (qt_is_imported_target)
      qtmultimedia/src/plugins/videonode/imx6/CMakeLists.txt:30 (qt_internal_add_resource)

      – Configuring incomplete, errors occurred!
      See also "D:/qt6/build/imx6/qt6-imx6-build/CMakeFiles/CMakeOutput.log".
      See also "D:/qt6/build/imx6/qt6-imx6-build/CMakeFiles/CMakeError.log".
      CMake Error at D:/qt6/build/imx6/qt5/qtbase/cmake/QtProcessConfigureArgs.cmake:947 (message):
      CMake exited with code 1.
       

       

      Attachments

        1. conf_imx.bat
          0.6 kB
        2. toolchain.cmake
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jbornema Joerg Bornemann
            gargulakj J G
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes