package - Creating a binary dependant on Qt 5 -
i created development environment fedora 18 , qt 5
when compile app 64 bit, , depend on qt 5. after research seems problem since centos 6.x still dependong on qt 4.6, , centos 5.x dependant on earlier qt, , i'm guessin ubuntu has own package limitations.
is there "safe" version of qt can compile against ensure runs everywhere? if not, how can expect customers run program?
if want target linux, recommend using qt 4.8 (available on of linux distros), forget qt 5 year or so. hardly linux distro other ubuntu 13.04 , above comes qt 5.
secondly, far compiling considered, if wish target linux distros other ubuntu , fedora never use ubuntu or fedora compilation. these bleeding edge linux distros include new libraries without testing. not face problem of old qt versions in linux distros face bigger problem of glibc (c library). make sure linux distro use compilation has minimum possible glibc version qt 4.8, otherwise if linux distro has qt 4.8 installed, has lower version of glibc, app still won't run. can check out distrowatch.com find out glibc , qt versions linux distro
example:
i compiled app on ubuntu 12.04, qt 4.8.1 glibc v 2.16 (perhaps). got bug report application not run on crunchbang has qt 4.8.1 available since debian unstable linux distro uses glibc v2.13. since day compile application on crunchbang (very lighweight, can virtual box this) , hardly 1 complains now.
as far centos considered, need recompile code on centos.
Comments
Post a Comment