From b15617f407653f0e5393b785e5983607bb2aae31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Sch=C3=BCrmann?= Date: Wed, 16 Feb 2022 23:55:23 +0100 Subject: [PATCH 1/2] Silence false positive qmllint warning --- res/qml/Mixxx/Controls/WaveformOverview.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/qml/Mixxx/Controls/WaveformOverview.qml b/res/qml/Mixxx/Controls/WaveformOverview.qml index 51ba266b096..97d67f6e1a1 100644 --- a/res/qml/Mixxx/Controls/WaveformOverview.qml +++ b/res/qml/Mixxx/Controls/WaveformOverview.qml @@ -39,7 +39,7 @@ Mixxx.WaveformOverview { required property int index anchors.fill: parent - group: root.group + group: root.group // qmllint disable unqualified hotcueNumber: this.index + 1 } From 0a7600aa29e3485812e418f14944130ce1bebc2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Sch=C3=BCrmann?= Date: Wed, 16 Feb 2022 23:56:50 +0100 Subject: [PATCH 2/2] Copy manual generated qml for qmllint --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7ea780a397c..24906921d2a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2197,6 +2197,8 @@ if(QT6) FILES "res/qml/Mixxx/qmldir" PREFIX "/mixxx.org/imports/Mixxx" ) + # to make also qmllint happy + configure_file(res/qml/Mixxx/qmldir qml/Mixxx/qmldir COPYONLY) # FIXME: Currently we need to add these include directories due to # QTBUG-87221. We should figure out a better way to fix this.