Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 27 Aug 2014, 23:20
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » System
qt-4.7.3 libs static with static webkit
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
Dingo


Joined: 11 Dec 2007
Posts: 1415
Location: somewhere at the end of rainbow...

PostPosted: Mon 30 Jul 2012, 05:44    Post subject:  qt-4.7.3 libs static with static webkit
Subject description: with STATIC libQtWebKit.a
 

qt-4.7.3-static+webkit+tools_525.sfs (compiled in Lucid Puppy 5.2.5)
http://filecloud.io/tjih5qle (scroll page towards bottom, to find download link)

built with:
Code:
LDFLAGS=-s ./configure --prefix=/usr -no-exceptions -fast -qt-sql-sqlite -no-phonon -no-phonon-backend -graphicssystem raster -qt-zlib -qt-libtiff -qt-libpng -qt-libmng -qt-libjpeg -nomake demos -nomake examples -nomake docs -nomake tools -nomake translations -openssl -silent -reduce-relocations -no-opengl -no-openvg -no-glib -static -webkit


this build has STATIC libQtWebKit.a

I found useful tips to compiling qtwebkit statically, here:
- http://qt-project.org/wiki/How_to_build_a_static_Qt_version_for_Windows_with_gcc

I successfully built qt static with static qtwebkit,

adding CONFIG += staticlib to src/3rdparty/webkit/WebKit.pri

LFLAGS = -static to qmake/Makefile

_________________
replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux
Back to top
View user's profile Send private message Visit poster's website 
disciple

Joined: 20 May 2006
Posts: 6428
Location: Auckland, New Zealand

PostPosted: Mon 06 Aug 2012, 02:47    Post subject:  

Good work finding how to build a static qtwebkit... although I guess it is massive.

Quote:
(compiled in Lucid Puppy 5.2.5)

Note that this is important. For example, if you use this .sfs to compile an app in a Puppy with a different version of libpng from the one in 5.2.5, the compiled app will probably not be able to display icons.

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
Dingo


Joined: 11 Dec 2007
Posts: 1415
Location: somewhere at the end of rainbow...

PostPosted: Mon 06 Aug 2012, 03:28    Post subject:  

disciple wrote:
Good work finding how to build a static qtwebkit... although I guess it is massive.

its size is 64 about MB
disciple wrote:

Quote:
(compiled in Lucid Puppy 5.2.5)

Note that this is important. For example, if you use this .sfs to compile an app in a Puppy with a different version of libpng from the one in 5.2.5, the compiled app will probably not be able to display icons.

This is why I passed -qt-libpng to ./configure, in order to not use the system png library, however, when compiling process finished, I seen no liqpng.a in plugins directory

this answer suggests that since a while, the right behavior, with -static switch, is to build alla plugins in qtgui.a
http://lists.qt.nokia.com/pipermail/qt-interest/2011-April/032989.html

_________________
replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux
Back to top
View user's profile Send private message Visit poster's website 
disciple

Joined: 20 May 2006
Posts: 6428
Location: Auckland, New Zealand

PostPosted: Mon 06 Aug 2012, 18:43    Post subject:  

Quote:
This is why I passed -qt-libpng to ./configure, in order to not use the system png library

Ah, OK. That sounds promising.

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » System
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0503s ][ Queries: 12 (0.0038s) ][ GZIP on ]