From 0795d14bf12a19dfb57b6443ab34fec08dd74ea5 Mon Sep 17 00:00:00 2001 From: Nova Date: Mon, 12 Aug 2024 04:19:10 +0330 Subject: [PATCH] fix: Fix plugin load targets --- go/cmd/updater/launcher_linux.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/go/cmd/updater/launcher_linux.go b/go/cmd/updater/launcher_linux.go index a4cf710..2570139 100644 --- a/go/cmd/updater/launcher_linux.go +++ b/go/cmd/updater/launcher_linux.go @@ -27,12 +27,7 @@ func Launcher() { ld_env += "/lib:/usr/lib:/lib64:/usr/lib/x86_64:/usr/local/Qt:/opt/Qt:" ld_env += filepath.Join(wd, "./usr/lib") - system_qt_plugin_env := os.Getenv("QT_PLUGIN_PATH") qt_plugin_env := "QT_PLUGIN_PATH=" - if system_qt_plugin_env != "" { - qt_plugin_env += system_qt_plugin_env + ":" - } - qt_plugin_env += "/usr/lib/qt6/plugins:/usr/lib/x86_64-linux-gnu/qt6/plugins:/usr/lib64/qt6/plugins:/usr/lib/qt/plugins:/usr/lib64/qt/plugins:" qt_plugin_env += filepath.Join(wd, "./usr/plugins") // Qt 5.12 abi is usually compatible with system Qt 5.15