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

Cmake error with 3D assets, Effects and Content library materials+effects

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • None
    • QDS 4.5
    • All Other Issues
    • None
    • d877e1bb1 (qds/dev), a1a9b7fce (qds/4.5)

    Description

      Steps to reproduce:

      • Create a 3D project in DS (latest 4.5 snapshot)
      • Toggle "Enable Automatic Cmake Generation" in File -> Export
      • Import attached 3D asset
      • Add it to scene in Navigator
      • Save all changes
      • Open and configure project in Creator (I used Qtc 13.0.1 + Qt 6.7.1)
      • -> Cmake fails with:
      [cmake] CMake Error at qds.cmake:7 (add_subdirectory):
      [cmake]   add_subdirectory given source "Box" which is not an existing directory.

      log attached.

      • Similar error comes after adding Effect to the project (created with Effect Composer) or Content library material or effect.
      [cmake] CMake Error at qds.cmake:7 (add_subdirectory):
      [cmake]   add_subdirectory given source "MaterialBundle" which is not an existing
      [cmake]   directory. 
      • I don't get this cmake error if I first add all these components to the project and only after that enable the automatic cmake generation.
      • Tested on Windows10

      Attachments

        1. Box.FBX
          15 kB
        2. log_creator.txt
          4 kB
        3. Test3Dimporttest.zip
          26 kB
        For Gerrit Dashboard: QDS-12633
        # Subject Branch Project Status CR V

        Activity

          People

            knud Knud Dollereder
            tanja_remes Tanja Remes
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes