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

Outrun Cluster "ReferenceError: mainScreen is not defined" when running Live Preview

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • QDS 4.7
    • QDS 4.7
    • Demos and Examples
    • QDS Berlin - 2024 Week 45/46

    Description

      When running Live Preview for Outrun Cluster example (Screen01.ui.qml file), application output will show a reference error:

      07:47:46: Starting C:\Users\taremes\RTA\QtDesignStudio_4.7.0\Tools\QtDesignStudio-4.7.0-preview\qt6_design_studio_reduced_version\bin\qml2puppet-4.7.0.exe --qml-runtime -I C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/imports -I C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports -S NoMqttClient --apptype widget C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/Screen01.ui.qml "-qmljsdebugger=file:C:/Users/taremes/AppData/Local/Temp/QtDesignStudio-XZprlT/qtc-socket.MftHxo,block,services:QmlPreview,DebugTranslation"...
      QML debugging is enabled. Only use this in a safe environment.
      Info: Starting QML Runtime
      Debug: QML Debugger: Connecting to socket C:/Users/taremes/AppData/Local/Temp/QtDesignStudio-XZprlT/qtc-socket.MftHxo...
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Lanes/RoadLine.qml:56: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Lanes/RoadLine.qml:56: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Lanes/RoadLine.qml:56: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Lanes/RoadLine.qml:56: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/AdasPlane/AdasBase.qml:27: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car_Optimized_2/Car_Optimized_2.qml:117: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car_Optimized_2/Car_Optimized_2.qml:128: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car_Optimized_2/Car_Optimized_2.qml:140: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car/Car.qml:69: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car/Car.qml:91: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car/Car.qml:104: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car/Car.qml:118: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car/Car.qml:69: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car/Car.qml:91: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car/Car.qml:104: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car/Car.qml:118: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car_Optimized_2/Car_Optimized_2.qml:117: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car_Optimized_2/Car_Optimized_2.qml:128: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car_Optimized_2/Car_Optimized_2.qml:140: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/Outsidemask.ui.qml:104: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Lanes/RoadLine.qml:56: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Lanes/RoadLine.qml:56: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Lanes/RoadLine.qml:56: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Lanes/RoadLine.qml:56: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/AdasPlane/AdasBase.qml:27: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car_Optimized_2/Car_Optimized_2.qml:117: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car_Optimized_2/Car_Optimized_2.qml:128: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car_Optimized_2/Car_Optimized_2.qml:140: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car/Car.qml:69: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car/Car.qml:91: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car/Car.qml:104: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car/Car.qml:118: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car/Car.qml:69: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car/Car.qml:91: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car/Car.qml:104: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car/Car.qml:118: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car_Optimized_2/Car_Optimized_2.qml:117: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car_Optimized_2/Car_Optimized_2.qml:128: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car_Optimized_2/Car_Optimized_2.qml:140: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/Outsidemask.ui.qml:104: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Lanes/RoadLine.qml:56: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Lanes/RoadLine.qml:56: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Lanes/RoadLine.qml:56: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Lanes/RoadLine.qml:56: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/AdasPlane/AdasBase.qml:27: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car_Optimized_2/Car_Optimized_2.qml:117: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car_Optimized_2/Car_Optimized_2.qml:128: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car_Optimized_2/Car_Optimized_2.qml:140: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car/Car.qml:69: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car/Car.qml:91: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car/Car.qml:104: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car/Car.qml:118: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car/Car.qml:69: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car/Car.qml:91: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car/Car.qml:104: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car/Car.qml:118: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car_Optimized_2/Car_Optimized_2.qml:117: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car_Optimized_2/Car_Optimized_2.qml:128: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car_Optimized_2/Car_Optimized_2.qml:140: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/Outsidemask.ui.qml:104: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Lanes/RoadLine.qml:56: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Lanes/RoadLine.qml:56: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Lanes/RoadLine.qml:56: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Lanes/RoadLine.qml:56: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/AdasPlane/AdasBase.qml:27: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car_Optimized_2/Car_Optimized_2.qml:117: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car_Optimized_2/Car_Optimized_2.qml:128: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car_Optimized_2/Car_Optimized_2.qml:140: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car/Car.qml:69: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car/Car.qml:91: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car/Car.qml:104: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car/Car.qml:118: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car/Car.qml:69: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car/Car.qml:91: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car/Car.qml:104: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car/Car.qml:118: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car_Optimized_2/Car_Optimized_2.qml:117: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car_Optimized_2/Car_Optimized_2.qml:128: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/asset_imports/Quick3DAssets/Car_Optimized_2/Car_Optimized_2.qml:140: ReferenceError: mainScreen is not defined
      Warning: file:///C:/Users/taremes/Documents/QtDesignStudio/examples/Outrun_Cluster/Outsidemask.ui.qml:104: ReferenceError: mainScreen is not defined
      Warning: QEventDispatcherWin32::wakeUp: Failed to post a message (Invalid window handle.)
      07:48:03: C:\Users\taremes\RTA\QtDesignStudio_4.7.0\Tools\QtDesignStudio-4.7.0-preview\qt6_design_studio_reduced_version\bin\qml2puppet-4.7.0.exe exited with code 0 

      Attachments

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

        Activity

          People

            thohartm Thomas Hartmann
            tanja_remes Tanja Remes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes