Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.8.0 RC
-
None
Description
Once, but never again, the Qml Camera example failed to configure with the following error
[cmake] Unknown CMake command "qt_add_ios_ffmpeg_libraries".
This happend once. After reconfiguring, the error did not come back, even with clean build.
More context:
[cmake] Running C:\Program Files\CMake\bin\cmake.exe -S C:/Qt-Test/Examples/Qt-6.8.0/multimedia/declarative-camera -B C:/Qt-Test/Examples/Qt-6.8.0/multimedia/declarative-camera/build/Desktop_Qt_6_7_2_MinGW_64_bit-Debug "-DCMAKE_CXX_FLAGS_INIT:STRING=-DQT_QML_DEBUG" "-DCMAKE_CXX_COMPILER:FILEPATH=C:/Qt-Test/Tools/mingw1120_64/bin/g++.exe" "-DCMAKE_PREFIX_PATH:PATH=C:/Qt-Test/6.7.2/mingw_64" "-DCMAKE_GENERATOR:STRING=Ninja" "-DCMAKE_C_COMPILER:FILEPATH=C:/Qt-Test/Tools/mingw1120_64/bin/gcc.exe" "-DQT_QMAKE_EXECUTABLE:FILEPATH=C:/Qt-Test/6.7.2/mingw_64/bin/qmake.exe" "-DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=C:\Qt-Test\Examples\Qt-6.8.0\multimedia\declarative-camera\build\Desktop_Qt_6_7_2_MinGW_64_bit-Debug/.qtc/package-manager/auto-setup.cmake" "-DCMAKE_BUILD_TYPE:STRING=Debug" in C:\Qt-Test\Examples\Qt-6.8.0\multimedia\declarative-camera\build\Desktop_Qt_6_7_2_MinGW_64_bit-Debug. [cmake] -- The CXX compiler identification is GNU 11.2.0 [cmake] -- Detecting CXX compiler ABI info [cmake] -- Detecting CXX compiler ABI info - done [cmake] -- Check for working CXX compiler: C:/Qt-Test/Tools/mingw1120_64/bin/g++.exe - skipped [cmake] -- Detecting CXX compile features [cmake] -- Detecting CXX compile features - done [cmake] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD [cmake] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success [cmake] -- Found Threads: TRUE [cmake] -- Performing Test HAVE_STDATOMIC [cmake] -- Performing Test HAVE_STDATOMIC - Success [cmake] -- Found WrapAtomic: TRUE [cmake] -- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) [cmake] -- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) [cmake] -- Configuring incomplete, errors occurred! [cmake] CMake Error at CMakeLists.txt:27 (qt_add_ios_ffmpeg_libraries): [cmake] Unknown CMake command "qt_add_ios_ffmpeg_libraries". [cmake] [cmake] [cmake] [cmake] The command "C:\Program Files\CMake\bin\cmake.exe -S C:/Qt-Test/Examples/Qt-6.8.0/multimedia/declarative-camera -B C:/Qt-Test/Examples/Qt-6.8.0/multimedia/declarative-camera/build/Desktop_Qt_6_7_2_MinGW_64_bit-Debug "-DCMAKE_CXX_FLAGS_INIT:STRING=-DQT_QML_DEBUG" "-DCMAKE_CXX_COMPILER:FILEPATH=C:/Qt-Test/Tools/mingw1120_64/bin/g++.exe" "-DCMAKE_PREFIX_PATH:PATH=C:/Qt-Test/6.7.2/mingw_64" "-DCMAKE_GENERATOR:STRING=Ninja" "-DCMAKE_C_COMPILER:FILEPATH=C:/Qt-Test/Tools/mingw1120_64/bin/gcc.exe" "-DQT_QMAKE_EXECUTABLE:FILEPATH=C:/Qt-Test/6.7.2/mingw_64/bin/qmake.exe" "-DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=C:\Qt-Test\Examples\Qt-6.8.0\multimedia\declarative-camera\build\Desktop_Qt_6_7_2_MinGW_64_bit-Debug/.qtc/package-manager/auto-setup.cmake" "-DCMAKE_BUILD_TYPE:STRING=Debug"" terminated with exit code 1. [cmake]