OmixVisualization / qtjambi

QtJambi is a wrapper for using Qt in Java.
http://www.qtjambi.io
Other
365 stars 43 forks source link

Symbol Lookup Error #181

Closed exaCORE42 closed 11 months ago

exaCORE42 commented 11 months ago

Describe the bug Using Intellij IDEA, ran provided test QtJambi code. The QMessageBox appeared correctly, but when closed, a symbol lookup error was given.

Error:

/usr/lib/jvm/java-21-openjdk/bin/java: symbol lookup error: /tmp/QtJambi6.6.0_16137/lib/libQtJambi.so.6.6.0: undefined symbol: _ZN14QReadWriteLock16destroyRecursiveEP21QReadWriteLockPrivate, version Qt_6_PRIVATE_API

To Reproduce Steps to reproduce the behavior: See video.

Expected behavior Not give the error.

Screenshots

https://github.com/OmixVisualization/qtjambi/assets/85199808/7e8d2464-116d-412a-a337-a349a800e96f

System (please complete the following information):

Additional context Does this have to do with different QtJambi and system Qt versions?

omix commented 11 months ago

I wonder why the error does not lead to full fail of the program. Yes, on Linux linking issues are always caused by differences between the distribution build of Qt and the one shipped by installer. The published binaries have been build with installer Qt 6.6.0.