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 Fri 24 Oct 2014, 16:40
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 Posts_count  
Author Message
Dingo


Joined: 11 Dec 2007
Posts: 1422
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
Sub_title: 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_website 
disciple

Joined: 20 May 2006
Posts: 6449
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: 1422
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_website 
disciple

Joined: 20 May 2006
Posts: 6449
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:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » System
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0485s ][ Queries: 11 (0.0027s) ][ GZIP on ]