0 runStatus 2 1 Did Setup 4 Using the build directories found in the .qmlls.ini file. Your build folder might not be found if no .qmlls.ini files are present in the root source folder. 0 init 0 runStatus 3 0 runStatus 4 0 openNeedUpdate 0 openUpdateStart 0 openUpdateSome start 0 updating doc "file:///home/orkun/qt_work/qt_projects/calqlatr/Main.qml" to version 1 ( 4854 chars) 0 Running "cmake" QList("--build", "/home/orkun/qt_work/qt_projects/calqlatr/build2", "-t", "all_qmltyperegistrations") 0 "cmake" QList("--build", "/home/orkun/qt_work/qt_projects/calqlatr/build2", "-t", "all_qmltyperegistrations") terminated with 1 1 "registration of file udates failed, will miss file changes done outside the editor due to error -32603 Request client/registerCapability failed with message: No feature implementation for workspace.didChangeWatchedFiles found. Registration failed." 0 1 [Dom][Exports] Warning: Failed to find main qmldir file for QtQml 6 in /home/orkun/qt_work/qt_projects/calqlatr/build2, /home/runner/work/_temp/install_dir/qml. 0 1 [Dom] Warning: Failed to find main qmldir file for QtQuick in /home/orkun/qt_work/qt_projects/calqlatr/build2, /home/runner/work/_temp/install_dir/qml. 0 1 [Dom] Warning: Failed to find main qmldir file for QtQuick.Window in /home/orkun/qt_work/qt_projects/calqlatr/build2, /home/runner/work/_temp/install_dir/qml. 0 1 [Dom] Warning: Failed to find main qmldir file for QtQuick.Layouts in /home/orkun/qt_work/qt_projects/calqlatr/build2, /home/runner/work/_temp/install_dir/qml. 0 1 [Dom] Warning: Failed to find main qmldir file for QtQuick in /home/runner/work/_temp/install_dir/qml. 0 1 [Dom] Warning: Failed to find main qmldir file for QtQuick.Window in /home/runner/work/_temp/install_dir/qml. 0 1 [Dom] Warning: Failed to find main qmldir file for QtQuick in /home/runner/work/_temp/install_dir/qml. 0 1 [Dom] Warning: Failed to find main qmldir file for QtQuick.Layouts in /home/runner/work/_temp/install_dir/qml. 0 1 [Dom] Warning: Failed to find main qmldir file for QtQuick in /home/runner/work/_temp/install_dir/qml. 0 1 [Dom] Warning: Failed to find main qmldir file for QtQuick.Controls in /home/runner/work/_temp/install_dir/qml. 0 1 [Dom] Warning: Failed to find main qmldir file for QtQuick in /home/runner/work/_temp/install_dir/qml. 0 1 [Dom] Warning: Failed to find main qmldir file for QtQuick.Controls in /home/runner/work/_temp/install_dir/qml. 0 Searching for files to watch in workspace folder "/home/orkun/qt_work/qt_projects/calqlatr" 1 QFileSystemWatcher::addPaths: list is empty 0 finished update doc of "file:///home/orkun/qt_work/qt_projects/calqlatr/Main.qml" to version 1 0 postSnapshot { url: docVersion:1 doc: ------------ // Copyright (C) 2023 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause import QtQuick import QtQuick.Window import QtQuick.Layouts import "content" import "content/calculator.js" as CalcEngine Window { visible: true width: 320 height: 480 minimumWidth: Math.max(numberPad.portraitModeWidth, display.minWidth) + root.margin * 2 minimumHeight: display.minHeight + numberPad.height + root.margin * 3 color: root.backgroundColor Item { id: root anchors.fill: parent readonly property int margin: 18 readonly property color backgroundColor: "#983333" readonly property int minLandscapeModeWidth: numberPad.landscapeModeWidth + display.minWidth + margin * 3 property bool isPortraitMode: width < minLandscapeModeWidth onIsPortraitModeChanged: { if (isPortraitMode) { portraitMode.visible = true; landscapeMode.visible = false; } else { portraitMode.visible = false; landscapeMode.visible = true; } } Display { id: display readonly property int minWidth: 210 readonly property int minHeight: 60 Layout.minimumWidth: minWidth Layout.fillWidth: true Layout.fillHeight: true Layout.margins: root.margin // remove the margin on the side that the numberPad is on, to prevent a double margin Layout.bottomMargin: root.isPortraitMode ? 0 : root.margin Layout.rightMargin: root.isPortraitMode ? root.margin : 0 } NumberPad { id: numberPad Layout.margins: root.margin } // define the responsive layouts ColumnLayout { id: portraitMode anchors.fill: parent visible: true LayoutItemProxy { target: display Layout.minimumHeight: display.minHeight } LayoutItemProxy { target: numberPad Layout.alignment: Qt.AlignHCenter } } RowLayout { id: landscapeMode anchors.fill: parent visible: false LayoutItemProxy { target: display } LayoutItemProxy { target: numberPad Layout.alignment: Qt.AlignVCenter } } function operatorPressed(operator) { CalcEngine.operatorPressed(operator, display); } function digitPressed(digit) { CalcEngine.digitPressed(digit, display); } function isButtonDisabled(op) { return CalcEngine.isOperationDisabled(op, display); } Keys.onPressed: function (event) { switch (event.key) { case Qt.Key_0: digitPressed("0"); break; case Qt.Key_1: digitPressed("1"); break; case Qt.Key_2: digitPressed("2"); break; case Qt.Key_3: digitPressed("3"); break; case Qt.Key_4: digitPressed("4"); break; case Qt.Key_5: digitPressed("5"); break; case Qt.Key_6: digitPressed("6"); break; case Qt.Key_7: digitPressed("7"); break; case Qt.Key_8: digitPressed("8"); break; case Qt.Key_9: digitPressed("9"); break; case Qt.Key_E: digitPressed("e"); break; case Qt.Key_P: digitPressed("π"); break; case Qt.Key_Plus: operatorPressed("+"); break; case Qt.Key_Minus: operatorPressed("-"); break; case Qt.Key_Asterisk: operatorPressed("×"); break; case Qt.Key_Slash: operatorPressed("÷"); break; case Qt.Key_Enter: case Qt.Key_Return: operatorPressed("="); break; case Qt.Key_Comma: case Qt.Key_Period: digitPressed("."); break; case Qt.Key_Backspace: operatorPressed("bs"); break; } } } } ========== validDocVersion:1 validDoc: ------------ // Copyright (C) 2023 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause import QtQuick import QtQuick.Window import QtQuick.Layouts import "content" import "content/calculator.js" as CalcEngine Window { visible: true width: 320 height: 480 minimumWidth: Math.max(numberPad.portraitModeWidth, display.minWidth) + root.margin * 2 minimumHeight: display.minHeight + numberPad.height + root.margin * 3 color: root.backgroundColor Item { id: root anchors.fill: parent readonly property int margin: 18 readonly property color backgroundColor: "#983333" readonly property int minLandscapeModeWidth: numberPad.landscapeModeWidth + display.minWidth + margin * 3 property bool isPortraitMode: width < minLandscapeModeWidth onIsPortraitModeChanged: { if (isPortraitMode) { portraitMode.visible = true; landscapeMode.visible = false; } else { portraitMode.visible = false; landscapeMode.visible = true; } } Display { id: display readonly property int minWidth: 210 readonly property int minHeight: 60 Layout.minimumWidth: minWidth Layout.fillWidth: true Layout.fillHeight: true Layout.margins: root.margin // remove the margin on the side that the numberPad is on, to prevent a double margin Layout.bottomMargin: root.isPortraitMode ? 0 : root.margin Layout.rightMargin: root.isPortraitMode ? root.margin : 0 } NumberPad { id: numberPad Layout.margins: root.margin } // define the responsive layouts ColumnLayout { id: portraitMode anchors.fill: parent visible: true LayoutItemProxy { target: display Layout.minimumHeight: display.minHeight } LayoutItemProxy { target: numberPad Layout.alignment: Qt.AlignHCenter } } RowLayout { id: landscapeMode anchors.fill: parent visible: false LayoutItemProxy { target: display } LayoutItemProxy { target: numberPad Layout.alignment: Qt.AlignVCenter } } function operatorPressed(operator) { CalcEngine.operatorPressed(operator, display); } function digitPressed(digit) { CalcEngine.digitPressed(digit, display); } function isButtonDisabled(op) { return CalcEngine.isOperationDisabled(op, display); } Keys.onPressed: function (event) { switch (event.key) { case Qt.Key_0: digitPressed("0"); break; case Qt.Key_1: digitPressed("1"); break; case Qt.Key_2: digitPressed("2"); break; case Qt.Key_3: digitPressed("3"); break; case Qt.Key_4: digitPressed("4"); break; case Qt.Key_5: digitPressed("5"); break; case Qt.Key_6: digitPressed("6"); break; case Qt.Key_7: digitPressed("7"); break; case Qt.Key_8: digitPressed("8"); break; case Qt.Key_9: digitPressed("9"); break; case Qt.Key_E: digitPressed("e"); break; case Qt.Key_P: digitPressed("π"); break; case Qt.Key_Plus: operatorPressed("+"); break; case Qt.Key_Minus: operatorPressed("-"); break; case Qt.Key_Asterisk: operatorPressed("×"); break; case Qt.Key_Slash: operatorPressed("÷"); break; case Qt.Key_Enter: case Qt.Key_Return: operatorPressed("="); break; case Qt.Key_Comma: case Qt.Key_Period: digitPressed("."); break; case Qt.Key_Backspace: operatorPressed("bs"); break; } } } } ========== scopeVersion:*none* scopeDependenciesLoadTime:QDateTime(Invalid) scopeDependenciesChangedfalse } 0 has doc, do real lint