Qt linking to icu
-
Hi all,
i have a issues when i build a Linuxdeployqt project .- libicui18n.so.56, needed by libQt5Core.so, not found .
- libicuuc.so.56, needed by libQt5Core.so, not found .
- libicudata.so.56, needed by libQt5Core.so, not found .
i don't know how set thats libraries. I need a help .
-
Hi all,
i have a issues when i build a Linuxdeployqt project .- libicui18n.so.56, needed by libQt5Core.so, not found .
- libicuuc.so.56, needed by libQt5Core.so, not found .
- libicudata.so.56, needed by libQt5Core.so, not found .
i don't know how set thats libraries. I need a help .
As long as you use the standard linux installation with the dynamic libraries it is probably good enough to copy those named icu* files also where you are copying your libQt5Core.so and other dynamic files.
Only when you are using a self-compiled static Qt library version, you need to link those libraries directly.
Note: I am not sure what the standard folders are on linux, since I am using most of the time win10. However, a self-compiled shared library Qt version for an embedded linux worked that way.
-
As long as you use the standard linux installation with the dynamic libraries it is probably good enough to copy those named icu* files also where you are copying your libQt5Core.so and other dynamic files.
Only when you are using a self-compiled static Qt library version, you need to link those libraries directly.
Note: I am not sure what the standard folders are on linux, since I am using most of the time win10. However, a self-compiled shared library Qt version for an embedded linux worked that way.
@koahnig
Hi koahnig
can you tell me how to link those libraries ?.
because the compliation library is static . -
@koahnig
Hi koahnig
can you tell me how to link those libraries ?.
because the compliation library is static .Basically the same as with the Qt5Core and other libraries.
I need to guess, since I am not really a linux guy.
Probably you are using
LIBS += -L<here the path where the Qt libraries are> -lQt5Core
for icu
LIBS += -L<here the path where the icu libraries are> -licudata -licui18nNote: this is only guess work, since I am not sure about the proper names on linux. Those names are derived from your posting above.
-
Basically the same as with the Qt5Core and other libraries.
I need to guess, since I am not really a linux guy.
Probably you are using
LIBS += -L<here the path where the Qt libraries are> -lQt5Core
for icu
LIBS += -L<here the path where the icu libraries are> -licudata -licui18nNote: this is only guess work, since I am not sure about the proper names on linux. Those names are derived from your posting above.
Hi @koahnig
Thank you a lot for your information .