This repository has been archived on 2024-09-25. You can view files and clone it, but cannot push or open issues or pull requests.
overlay/dev-util/qml-lsp/files/qml-lsp-0.2.0-find-qmake5.patch
tastytea a3cb1572c3
dev-util/qml-lsp: new package, add 0.2.0
Signed-off-by: tastytea <tastytea@tastytea.de>
2022-08-29 21:42:44 +02:00

26 lines
742 B
Diff

From 045d33dfbc714e95464b295be4b5a864db82e7e6 Mon Sep 17 00:00:00 2001
From: tastytea <tastytea@tastytea.de>
Date: Mon, 29 Aug 2022 19:57:45 +0200
Subject: [PATCH] find qmake5
---
qt-libpaths/libpaths.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qt-libpaths/libpaths.go b/qt-libpaths/libpaths.go
index bf59118..db1c4ae 100644
--- a/qt-libpaths/libpaths.go
+++ b/qt-libpaths/libpaths.go
@@ -18,7 +18,7 @@ func find(b []byte) string {
func get() (string, error) {
var err error
var output []byte
- for _, it := range []string{"qmake", "qmake-qt5"} {
+ for _, it := range []string{"qmake5", "qmake", "qmake-qt5"} {
output, err = exec.Command(it, "-query").Output()
if err != nil {
continue
--
2.35.1