From b04cb7b3cc872ef612e12109646d64d01fb24ec9 Mon Sep 17 00:00:00 2001 From: purian23 Date: Tue, 10 Feb 2026 16:07:33 -0500 Subject: [PATCH] guide: Include Fedora paths in the Contributing guide --- CONTRIBUTING.md | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8ccb5897..60bfcde8 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -37,10 +37,43 @@ This is a monorepo, the easiest thing to do is to open an editor in either `quic 1. Install the [QML Extension](https://doc.qt.io/vscodeext/) 2. Configure `ctrl+shift+p` -> user preferences (json) with qmlls path +**Note:** Paths may vary by distribution. Below are examples for Arch Linux and Fedora. + +**Arch Linux:** + ```json { + "[qml]": { + "editor.defaultFormatter": "qt-project.qmlls", + "editor.formatOnSave": true + }, "qt-qml.doNotAskForQmllsDownload": true, - "qt-qml.qmlls.customExePath": "/usr/lib/qt6/bin/qmlls" + "qt-qml.qmlls.customExePath": "/usr/lib/qt6/bin/qmlls", + "qt-core.additionalQtPaths": [ + { + "name": "Qt-6.x-linux-g++", + "path": "/usr/bin/qmake" + } + ] +} +``` + +**Fedora:** + +```json +{ + "[qml]": { + "editor.defaultFormatter": "qt-project.qmlls", + "editor.formatOnSave": true + }, + "qt-qml.doNotAskForQmllsDownload": true, + "qt-qml.qmlls.customExePath": "/usr/bin/qmlls", + "qt-core.additionalQtPaths": [ + { + "name": "Qt-6.x-Fedora-linux-g++", + "path": "/usr/bin/qmake6" + } + ] } ```