qt-4.7.3 libs static with static webkit

Core libraries and systems
Post Reply
Message
Author
User avatar
Dingo
Posts: 1437
Joined: Tue 11 Dec 2007, 17:48
Location: somewhere at the end of rainbow...
Contact:

qt-4.7.3 libs static with static webkit

#1 Post by Dingo »

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: Select all

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 ... s_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

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#2 Post by disciple »

Good work finding how to build a static qtwebkit... although I guess it is massive.
(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.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
Dingo
Posts: 1437
Joined: Tue 11 Dec 2007, 17:48
Location: somewhere at the end of rainbow...
Contact:

#3 Post by Dingo »

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:
(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- ... 32989.html
replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#4 Post by disciple »

This is why I passed -qt-libpng to ./configure, in order to not use the system png library
Ah, OK. That sounds promising.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

Post Reply