Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
6.5.1
Description
Install Qt 6.5.1 snapshot binaries, Android, Wasm or WoA and compile example demos/documentviewer, configure:
C:\Users\qt\RTA\Qt_6.5.1\6.5.1\wasm_multithread\bin\qt-cmake -S C:\Users\qt\RTA\Qt_6.5.1\Examples\Qt-6.5.1\demos\documentviewer -B C:\Users\qt\RTA\Qt_6.5.1\Examples\Qt-6.5.1\demos\documentviewer\bld_wasm_multithread -GNinja
Fails:
CMake Error at CMakeLists.txt:12 (find_package): -- The CXX compiler identification is MSVC 19.29.30146.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/arm64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - not found -- Found Threads: TRUE -- Performing Test HAVE_STDATOMIC -- Performing Test HAVE_STDATOMIC - Success -- Found WrapAtomic: TRUE -- Found WrapVulkanHeaders: C:/VulkanSDK/1.2.182.0/Include -- Could NOT find Qt6PdfWidgets (missing: Qt6PdfWidgets_DIR) CMake Error at CMakeLists.txt:12 (find_package): Found package configuration file: C:/Users/qt/RTA/Qt_6.5.1/6.5.1/msvc2019_arm64/lib/cmake/Qt6/Qt6Config.cmake but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT FOUND. Reason given by package: Failed to find required Qt component "PdfWidgets". Expected Config file at "C:/Users/qt/RTA/Qt_6.5.1/6.5.1/msvc2019_arm64/lib/cmake/Qt6PdfWidgets/Qt6PdfWidgetsConfig.cmake" does NOT exist Configuring with --debug-find-pkg=Qt6PdfWidgets might reveal details why the package was not found. Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some of the path variables that find_package uses to try and find the package. -- Configuring incomplete, errors occurred! See also "C:/Users/qt/RTA/Qt_6.5.1/Examples/Qt-6.5.1/demos/documentviewer/bld_msvc2019_arm64/CMakeFiles/CMakeOutput.log". See also "C:/Users/qt/RTA/Qt_6.5.1/Examples/Qt-6.5.1/demos/documentviewer/bld_msvc2019_arm64/CMakeFiles/CMakeError.log".
Works on iOS and desktop targets.
Is the example supported on Androi/Wasm/WoA?
Attachments
Issue Links
- relates to
-
QTBUG-111982 New example demos/documentviewer fails to compile
-
- Closed
-