PDA

View Full Version : Latest QT Runtime Library RPM's ?



codematic
1st November 2010, 18:43
Greetings,

Why is there not a standard RPM that people can YUM install with the QT runtime libraries ?

Since their seems to not be one...

How does one effectively distribute an application using them ?

The obvious solution is to package them with your application and install them on the host system. This however presents a problem where it becomes troublesome for the USERS to have multiple QT applications running, and various versions of libraries installed in numerous locations with no real way to keep them updated.

So, again... where can a user get the LATEST qt library distribution ?

Thanks
-Lenny

Zlatomir
1st November 2010, 18:56
Since Qt is multi platform, that's not an real option, but i guess, that you want an Windows installer (like vcredist) and that only gives more "issues", like for example the downloadable/installable/updatable "run-time" will be build with which compiler (Mingw? or since is windows will use the Visual C++?? :confused: ) so there "should" be too many "run-times" (and always there will be some peoples not happy that the compiler they use is not "represented")

And also for most applications you just need some dll's for Qt run-time (like most of the times QtCore4.dll and QtGui4.dll will do the trick) not the whole library.

squidge
1st November 2010, 20:04
Considering various distributions of Linux come with various package managers and different directory structures, this would be impractical. Therefore, it's upto your distribution creator to manage these packages. Nokia can't be expected to distribute Qt in every package format for every version of Linux.

Multiple versions doesn't matter - Linux will handle them fine - they should all be installed into the same directory (typically /lib or /usr/lib).

Your application should simply reference these installations rather than bunding the Qt runtime with your application, then the relevent version will only be downloaded if necessary.

[Under Windows everything is different, but then again, YUM doesn't exist under Windows last time I checked]