Uploaded image for project: 'Qt 3D Studio'
  1. Qt 3D Studio
  2. QT3DS-2967

Failed to parse QML script used in presentation.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt 3D Studio 2.3 BETA1
    • Runtime 2.x
    • None
    • Ubuntu 16.04/Qt5.12.1 GCC in Release mode
    • Linux/X11

    Description

      Application fail when try to parse metadata in qml file.

      1. Create new presentation
      2. Add Text on scene
      3. Add to scene script dateAndTime.qml from 3d studio examples
      4. Set script to target Text
      5. Prepare qml project, add 3d presentation
      6. Try to run in Debug mode. It works fine (Qt Creator)
      7. Change target to Release (Qt Creator)
      8. Failed to parse

      The script dateAndTime.qml looks like a root cause.

       

      "GL_ARB_conservative_depth")

      q3ds.studio3d: created engine 0x139cfe0

      q3ds.studio3d: source is now ":/BugReport/DateAndTime/presentations/DateAndTime.uip"

      q3ds.scene: prepareEngineResetGlobal

      Failed to parse metadata :/BugReport/DateAndTime/presentations/../scripts/dateAndTime.qml

      Failed to parse DateAndTime.uip: line 8: column 91: offset 532: Failed to load external file :/BugReport/DateAndTime/presentations/../scripts/dateAndTime.qml

      Failed to parse main presentation

      Studio3D: Failed to load :/BugReport/DateAndTime/presentations/DateAndTime.uip

      Failed to parse DateAndTime.uip: line 8: column 91: offset 532: Failed to load external file :/BugReport/DateAndTime/presentations/../scripts/dateAndTime.qml

      Failed to parse main presentation

      q3ds.studio3d: [R] sceneGraphInvalidated

      q3ds.studio3d: releaseResources"

       

       

      In attachment is zipped whole project with reproducible bug.

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            oskar.lewandowski Oskar Lewandowski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes