Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-25123

Following QML tutorial leads to non-working code

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • Qt Creator 4.13.3
    • Quick Designer
    • None

    Description

      Following the tutorial at https://youtu.be/GkzncJ71mm0?t=118 exactly, I set fontsize to 30, which leads to qml code

      font.pixelSize: "30"
      

      which in turn leads to error

      qrc:/CircleForm.ui.qml:22:29: Invalid property assignment: int expected
      

      Qt version 6.0.0
      Qt Creator verrsion 4.13.3

      Attachments

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

        Activity

          People

            thohartm Thomas Hartmann
            andreasbuhr Andreas Buhr
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes