LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-04-2009, 09:53 AM   #1
Oakems
Member
 
Registered: Nov 2008
Posts: 43

Rep: Reputation: 16
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.
 
Old 07-04-2009, 10:18 AM   #2
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
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.
 
Old 07-05-2009, 02:09 PM   #3
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What's package daemon that add to /etc/fstab when you add USB sticks frenchn00b Linux - General 3 01-20-2008 08:30 PM
Package that contains the fortune app stevesk Slackware 2 07-26-2006 05:36 PM
Got WINE working, trying to add new app. mattp Linux - Software 5 01-15-2006 03:59 PM
Could not add app to the application database... iammike Ubuntu 3 05-19-2005 05:05 AM
How do I add an App to Bookmarks esage Mandriva 3 09-25-2003 07:51 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration