Main Menu

Bug in Qt 6.12.0

Started by gradgrind, October 21, 2026, 03:35:38 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gradgrind

I have noticed a (further) problem with Qt 6.12.0 on Linux.

It concerns starting via a symlink when compiled on distributions which place the libraries in "lib64" instead of "lib", i.e. something other than Debian/Ubuntu. Thus this problem should not arise when using the "official" binaries, but it might be a problem if someone out there compiles from source.

If you start fet via a symlink (when the Qt libraries are in ../lib64 relative to the fet binary) it will not work (it crashes) if you start fet using the absolute address of the symlink, say "/home/user/bin/fet". Strangely, however, it works if you start using a relative path to the symlink, say "bin/fet". This is where "/home/user/bin/fet" is a symlink to the actual binary.

Workaround:

Best: don't use Qt 6.12.0 (6.11.2 is fine).
Alternative: in CMakeLists.txt force use of "lib" for libraries, set(CMAKE_INSTALL_LIBDIR "lib").

Liviu Lalescu

Indeed, Michael!

Thank you for the report! I will add a note in the README about that. Maybe you would like to report this bug to Qt, so Qt 6.12.1 will be correct.

gradgrind

I have already reported the bug to Qt :)

Liviu Lalescu