Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Warnings in default `Constants.qml`
Forum Updated to NodeBB v4.3 + New Features

Warnings in default `Constants.qml`

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 157 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    t.vanbesien
    wrote on last edited by t.vanbesien
    #1

    Hi,

    In the default generated Constants.qml file from Qt Design Studio, qmllint indicates that they are errors:

    [3/4 40.0/sec] cd /home/tvanbesi/Desktop/Qt-sandbox/Sandbox/Sandbox && /home/tvanbesi/Qt/6.8.0/gcc_64/bin/qmllint @/home/tvanbesi/Desktop/Qt-sandbox/Sandbox-Debug/Sandbox/.rcc/qmllint/Sandbox.rsp
    Warning: /home/tvanbesi/Desktop/Qt-sandbox/Sandbox/Sandbox/Constants.qml:14:69: Member "font" not found on type "QQmlApplication" [missing-property]
                                                 family: Qt.application.font.family,
                                                                        ^^^^
    Warning: /home/tvanbesi/Desktop/Qt-sandbox/Sandbox/Sandbox/Constants.qml:18:74: Member "font" not found on type "QQmlApplication" [missing-property]
                                                      family: Qt.application.font.family,
                                                                             ^^^^
    

    I'm still learning Qt Design Studio so I wonder how to fix these?

    1 Reply Last reply
    0
    • Christian EhrlicherC Christian Ehrlicher moved this topic from General and Desktop on
    • JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      Looks like a bug in Qt (not related to Qt Design Studio). I've created a bug report for you: https://bugreports.qt.io/browse/QTBUG-131911

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved