On May 31, 7:54 am, Jakob Truelsen <
antial...@gmail.com> wrote:
> There is currently no way of automaticaly just extracting the patch
> set. However the way I am setting it up on 4.8.2, the patches will be
> all the commits tohttp://
qt.gitorious.org/~antialize/qt/antializes-qt/commits/4.8.2
> after the commit with the message "Add wkhtmltopdf definition to
> qwebframe.h" (note that as I rebase you can not use the id)
>
> I have created the patches such that they only add featurs, so you
> should be able to use the patched version of qt for all you other qt
> needs.
Sounds good. I may give it a try.
I did try rebuilding wkhtmltopdf with qt 4.8.2 instead of 4.8.1 (no
changes to qt libraries). Not having such good luck with that version
of qt. (I'm using wkhtmltopdf-0.11.0_rc1.tar.bz2 by the way.) It
builds libwkhtmltox0.a and wkhtmltox0.dll in bin, but when running the
Makefile (in the src/pdf directory), it attempts to link with -
lwkhtmltox not -lwkhtmltox0. If I copy libwkhtmltox0.a to
libwkhtmltox.a and try again, I get:
g++ -Wl,-s -Wl,-subsystem,console -mthreads -o ../../bin/
wkhtmltopdf.exe object_script.wkhtmltopdf.Release -L'c:/mingw/msys/
opt/qt-4.8.2/lib' -L../../bin -lwkhtmltox -lQtWebKit4 -lQtSvg4 -
lQtXmlPatterns4 -lQtGui4 -lQtNetwork4 -lQtCore4 ./../../build/
pdfarguments.o:pdfarguments.cc:(.text
$_ZN6CallerI14DefaultTocFuncEclEPPKcR21CommandLineParserBasePc[Caller<DefaultTocFunc>::operator()
(char const**, CommandLineParserBase&, char*)]+0x5f): undefined
reference to
`_imp___ZN11wkhtmltopdf24dumpDefaultTOCStyleSheetER11QTextStreamRNS_8settings14TableOfContentE'
collect2: ld returned 1 exit status
Thought it was strange it built without any hitches in qt 4.8.1 but
not with 4.8.2.