Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
None
-
5.12.2
-
None
Description
Hello!
We are use Qt at several different platforms - sh4, mipsel and arm. Unfortunately at sh4 and mipsel Qt use absolute path to libatomic.so and linker can't found library if Qt was moved to other location.
sh4
staging_ps7105/qt5_sti7105/mkspecs/modules/qt_lib_core_private.pri:14 QMAKE_LIBS_LIBATOMIC = /builds/itv-stb/stb-firmware/toolchain/sh4-gcc-4.9.4-glibc_16082018/sh4-linux/lib/libatomic.so
At arm this issue doesn't present.
My workaround
mkspecs/devices/linux-sh4-stmicro-ST7105-g++/qmake.conf
QMAKE_LIBS += -latomic
Attachments
Issue Links
- relates to
-
QTBUG-81281 full library name in Make
- Closed