Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.0.0
-
Windows 10 2004
Microsoft Visual Studio Community 2019 Version 16.8.3
Conan version 1.32.0
jom version 1.1.3
cmake version 3.19.2
Qt 6.0.0 binary release
perl 5, version 28, subversion 1 (v5.28.1)
Description
Trying to build qt3d with
conan.exe install qt3d/6.0.0@qt/final --build=missing --profile=C:/Qt/Tools/Conan/profiles/qt-6.0.0-msvc2019_64 -s build_type=Release -g cmake_paths -g=cmake -g deploy
as well as manually following the usual conan build steps for building a package from the sources downloaded with the qt installer break in the following error message:
-- Configuring done CMake Error at C:/Qt/6.0.0/msvc2019_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:676 (add_dependencies): The dependency target "3DQuick_autogen" of target "3DQuick_automoc_json_extraction" does not exist. Call Stack (most recent call first): C:/Qt/6.0.0/msvc2019_64/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:711 (qt6_extract_metatypes) src/quick3d/quick3d/CMakeLists.txt:66 (qt6_qml_type_registration)
Building using qmake/jom on the source files from the installer end with multiple instances of:
C:\Qt\AdditionalLibraries\Qt\qt3d-6.0.0\Src\src\render\surfaces\vulkaninstance.cpp(51): error C2027: use of undefined type 'QVulkanInstance' C:\Qt\AdditionalLibraries\Qt\qt3d-6.0.0\Src\src\render\surfaces\vulkaninstance_p.h(60): note: see declaration of 'QVulkanInstance'
This might not be a source code bug but a documentation bug, because there are no clear instructions on how to build qt3d:
- the README file of the repository is horribly outdated (talks about Qt5 (!!) as experimental)
- Some blog and wiki entries exist but explicitly state they refer to the beta stage, with no updates for the final release
More information here: https://forum.qt.io/topic/122483/building-qt3d-6-0-0/3