Uploaded image for project: 'Qt Safe Renderer'
  1. Qt Safe Renderer
  2. QSR-2382

Qt Safelayout Tool does not support Singleton component

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P2: Important
    • QSR 3.0
    • QSR 2.1
    • Tooling
    • None

    Description

      Qt Safelayout Tool fails to evaluate the safe text element width in the following scenario where you'd store the properties into a singleton object named DisplayDimemensions as follows:

      pragma Singleton
      import QtQuick
      
      QtObject {
          readonly property real ttWidth: 61
      }
      
      SafeText {
          width: DisplayDimensions.ttWidth
      ..
      

      Attachments

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

        Activity

          People

            qtsaferendererteam Qt Safe Renderer Team
            teemu.holappa Teemu Holappa
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes