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

Following QML tutorial leads to non-working code

XMLWordPrintable

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

      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

        1. screenshot-1.png
          2.25 MB
          Thomas Hartmann
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:

                There are no open Gerrit changes