Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-8607

"Generate CMake build Files" does not reflect imported assets in build files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • Some future release
    • QDS 3.7
    • Buildsystem
    • None
    • Windows

    Description

      This Issue occurs when working on Windows 11 with the following steps.

      1. Launch Qt Design Studio
      2. Select General, 3D for Presets.
      3. In Details, set the project name and save location, resolution 1024x768 only.
      4. Click "Createā€¯
      5. Import untitled.fbx from the Assets tab (do not change options)
      6. Drag and drop the Untitled registered in MY 3D COMPONETS to the scene Node.
      7. Run in Qt Design Studio (working as intended)
      8. Execute "Generate CMake build Files" (do not change options)
      9. Open the project (CMakeLists.txt) in QtCreator
      10. Execute build with Debug settings
      11. RUN
      12. 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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              Unassigned Unassigned
              tetsuya.mishima Mishima Tetsuya
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes