Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
QDS 3.7
-
None
Description
This Issue occurs when working on Windows 11 with the following steps.
- Launch Qt Design Studio
- Select General, 3D for Presets.
- In Details, set the project name and save location, resolution 1024x768 only.
- Click "Createā€¯
- Import untitled.fbx from the Assets tab (do not change options)
- Drag and drop the Untitled registered in MY 3D COMPONETS to the scene Node.
- Run in Qt Design Studio (working as intended)
- Execute "Generate CMake build Files" (do not change options)
- Open the project (CMakeLists.txt) in QtCreator
- Execute build with Debug settings
- RUN
- The following error is output
QQmlApplicationEngine failed to load component
qrc:Main/main.qml:7:1: Type App unavailable
qrc:/content/App.qml:41:5: Type Screen01 unavailable
qrc:/content/Screen01.ui.qml:12:1: module "Quick3DAssets.Untitled" is not installed
QML debugging is enabled. Only use this in a safe environment.
16:27:39: C:/Work/build-Prog3D-Desktop_Qt_6_3_1_MinGW_64_bit-Debug/Prog3DApp.exe exited with code -1
(*)Question 1.
Imported assets are not registered in qmlmodules file
target_link_libraries(Prog3DApp PRIVATE
contentplugin
Prog3Dplugin)
(*)Question 2:
There is no "add_subdirectory (Quick3DAssets)" in the CMakeLists.txt file in the asset_impots folder.
There is no CMakeLists.txt file in the Quick3DAssets folder either.
Attachments
Issue Links
- relates to
-
QDS-9160 "Generate CMake build files..." produces broken project from network drive
- Closed