Deploy QT on various Linux distributions
Hi.
Short Question
==============
What's the best way to develop QT application to be deployed on different Linux Distributions (without recompiling...)?
Long Question
=============
I'm developing a simple QT project, on Ubuntu 11.10 (32 bit)
Currently, I have a working binary on my personal machine.
I wanted to try my binary on other machines.
Copied it over to a RHEL5 (64 bit) and it failed with a segmentation fault, before anything happened.
Well, I thought - maybe it's some 32/64 bits issue.
Tried it on a SL6 (RHEL based) - 32 bits. This time the GUI started, but when any action was required - it failed.
Final try - copied it to another Ubuntu 11.10 (32 bits) - and now it's working.
Googling gave me this:
http://blog.rubypdf.com/2010/07/15/l...linux-distros/
It seems that QT should somehow support Linux Standard Base, and that should facilitate this process.
Is it accurate?
How do I do this?
And why isn't it the default process??
Or maybe, there is a better solution?
Thanks,
Zvika
Re: Deploy QT on various Linux distributions
I sugest to migrate from qmake pro to cmake. Than You can easy use cpack generators to create deb and rpm packages. When Your project will became more complicated migration can be painfull.
Re: Deploy QT on various Linux distributions
Hi.
How cmake should help me?
My problem is not with the RPM/DEB packaging.
I've manually copied the binary to various systems, and wasn't able to run it.
What about the LSB?
Should I consider using it?
Thanks...
Re: Deploy QT on various Linux distributions
Did you build your app against an LSB-enabled environment?