Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
QDS 4.2
-
None
-
Ubuntu 22.04, QDS 4.2.0
Description
Steps to reproduce:
Create new project, name it, put dimensions at 1440 x 1080. (to match an image size)
Got to "Projects" tab, and click on Constants.qml in Imports.
error appears.
The app runs, even if there is the error.
QML inserted below
---------------------------------------------------
pragma Singleton
import QtQuick 6.5
import QtQuick.Studio.Application
QtObject {
readonly property int width: 1080
readonly property int height: 1440
property string relativeFontDirectory: "fonts"
/* Edit this comment to add your custom font */
readonly property font font: Qt.font(
)
readonly property font largeFont: Qt.font(
)
readonly property color backgroundColor: "#c2c2c2"
property StudioApplication application: StudioApplication
{ fontPath: Qt.resolvedUrl("../../content/" + relativeFontDirectory) }}