When running configure.py on Linux with a standard upstream Qt 6 SDK
via --with-qt-dir, the Qt test program fails to link because
configure.py hardcodes Oracle's internal '-lQt6CoreVBox' library name:

  /usr/bin/ld: cannot find -lQt6CoreVBox: No such file or directory

Use the standard 'Qt6Core' library name so that --with-qt-dir works
with upstream Qt 6 builds on Linux.

Tracked in: https://github.com/VirtualBox/virtualbox/issues/923
This patch is provided under the MIT license.

Signed-off-by: Adrián García Casado <[email protected]>
---
 configure.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.py b/configure.py
--- a/configure.py
+++ b/configure.py
@@ -1435,7 +1435,7 @@
-        libs = [ 'Qt6CoreVBox' ]
+        libs = [ 'Qt6Core' ]
-- 
2.39.5
_______________________________________________
vbox-dev mailing list
[email protected]
https://www.virtualbox.org/mailman/listinfo/vbox-dev

Reply via email to