mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-28 04:41:23 +08:00
fix: Fix plugin load targets
This commit is contained in:
parent
8fdbab3ed4
commit
0795d14bf1
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user