LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   How to add QT to a package so that it becomes a standalone APP? (https://www.linuxquestions.org/questions/programming-9/how-to-add-qt-to-a-package-so-that-it-becomes-a-standalone-app-737704/)

Oakems 07-04-2009 09:53 AM

How to add QT to a package so that it becomes a standalone APP?
 
Hi all, I've recently installed qjoypad-3.4.1 and am enjoying it very much. I'd like to add QT support for it so that it can be easily used on Puppy, without having to install QT separately.

With Puppy it's really easy to change versions if you have a frugal install, and it would be really nice if qjoypad was a standalone App, so that it can be installed all in one go, on any version.

I know this can be done, I've seen it done for Opera, but I haven't a clue how to start? I think it would involve adding these libs to the package and then making sure that the program knows where to look for them. I don't mind getting my hands dirty, I just need a place to start. Any help pointing me in the right direction would be very much appreciated.

Thank you.

bgeddy 07-04-2009 10:18 AM

This sounds like you want to statically link your application This will mean rebuilding all the QT libraries to static versions and statically linking. The executable will be huge after this and the QT libraries will be part of it. I have never actually done this but google will give you pointers. Look up "staticallly build QT application" and such like.

osor 07-05-2009 02:09 PM

Well, you don’t have to link all of QT, only the libs you need. I believe opera does this, and their browser isn’t too big.


All times are GMT -5. The time now is 02:29 AM.