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

Setting font bold causes errrors in QQmlApplicationEngine

    XMLWordPrintable

Details

    • Windows

    Description

      adding in a text box and click on the B  in the "emphasis field" on the IDE will set 

      Text { ........... font.bold: "true" }

      a when run this will cause the error: Invalid property assignment: boolean expected

      unchecking this box sets it to Text { ........... font.bold: "false" }

      which fails with the same error. remove this setting and using the IDE to set "font weight" to bold  will set  Text { ........... font.weight: font.bold }

      and the compile passes with no errors.

      Attachments

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

        Activity

          People

            thohartm Thomas Hartmann
            colinhobbs Colin Hobbs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes