On Thu, Oct 20, 2011 at 4:06 AM, gloridel malingin <[email protected]> wrote: > Thank you for your response Alexis. > > Sorry I got busy with other task, release and all. So am back doing > this task again. > > Anyways, what do you mean its not enough? I am in the process of > getting the source code as you suggested but it would be nice to know > why you think it was not enough.
Tweaking directly makefiles is not gonna help you. There are many things that happens before the Makefile generation. > > Thank you for any information > > gloridel > > > On Fri, Oct 14, 2011 at 8:20 PM, Alexis Menard > <[email protected]> wrote: >> >> On Oct 14, 2011, at 4:59 AM, gloridel malingin wrote: >> >>> Hello Everyone, >>> >>> I am a newbie with QTWebkit and now I am lost on how to fix my compile >>> errors. >>> >>> I am trying to cross-compile under Ubuntu linux for x86 architecture. >>> >>> I configure qt like this: >>> >>> ./configure -release -embedded x86 -opensource -little-endian >>> -openssl-linked -reduce-exports -reduce-relocations -qt-gfx-directfb >>> -no-dbus -depths 32 -webkit -qt-gif -platform linux-g++ -xplatform >>> linux-g++ -qt-libpng -qt-libjpeg -qt-freetype -qt-zlib >>> -no-sql-postgres -no-sql-mysql -no-sql-oracle -no-phonon >>> -no-phonon-backend -no-nis -no-libtiff -no-iconv -no-libmng -nomake >>> translations -nomake demos -nomake examples -nomake tools -nomake docs >>> -no-glib -no-javascript-jit -no-svg -no-declarative -no-scripttools >>> -no-xmlpatterns -no-multimedia -no-accessibility -no-exceptions >>> -no-script -no-sql-odbc -no-sql-tds -no-sql-sqlite2 -no-qt3support >>> -no-mmx -no-cups -no-3dnow -no-sse -no-sse2 >>> >>> and Disable the SVG related flags in the Makefile under >>> 3rdParty\qt\src\3rdparty\webkit\WebCore >>> >>> DENABLE_SVG=0 -DENABLE_SVG_FONTS=0 -DENABLE_SVG_FOREIGN_OBJECT=0 >>> -DENABLE_SVG_ANIMATION=0 -DENABLE_SVG_AS_IMAGE=0 -DENABLE_SVG_USE=0 >> >> This is not enough. >> >> If you want a custom tailored QtWebKit you need to checkout the qtwebkit >> branch and the last released version (2.2) and build it separately. >> >> https://gitorious.org/+qtwebkit-developers/webkit/qtwebkit >> >> and read http://trac.webkit.org/wiki/BuildingQtOnLinux >> >>> >>> But then I got the Errors below: >>> >>> -o .obj/release-shared-emb-x86/SVGElementFactory.o >>> generated/SVGElementFactory.cpp >>> generated/SVGElementFactory.cpp:587: warning: unused parameter 'qName' >>> generated/SVGElementFactory.cpp:587: warning: unused parameter 'document' >>> generated/SVGElementFactory.cpp:587: warning: unused parameter >>> 'createdByParser' >>> ../JavaScriptCore/wtf/PassRefPtr.h: In function 'void >>> WTF::refIfNotNull(T*) [with T = WebCore::SVGElement]': >>> ../JavaScriptCore/wtf/PassRefPtr.h:59: instantiated from >>> 'WTF::PassRefPtr<T>::PassRefPtr(T*) [with T = WebCore::SVGElement]' >>> generated/SVGElementFactory.cpp:604: instantiated from here >>> ../JavaScriptCore/wtf/PassRefPtr.h:43: error: invalid use of >>> incomplete type 'struct WebCore::SVGElement' >>> generated/SVGElementFactory.h:44: error: forward declaration of >>> 'struct WebCore::SVGElement' >>> ../JavaScriptCore/wtf/PassRefPtr.h: In function 'void >>> WTF::derefIfNotNull(T*) [with T = WebCore::SVGElement]': >>> ../JavaScriptCore/wtf/PassRefPtr.h:67: instantiated from >>> 'WTF::PassRefPtr<T>::~PassRefPtr() [with T = WebCore::SVGElement]' >>> generated/SVGElementFactory.cpp:604: instantiated from here >>> ../JavaScriptCore/wtf/PassRefPtr.h:53: error: invalid use of >>> incomplete type 'struct WebCore::SVGElement' >>> generated/SVGElementFactory.h:44: error: forward declaration of >>> 'struct WebCore::SVGElement' >>> generated/SVGElementFactory.cpp: At global scope: >>> generated/SVGElementFactory.cpp:122: warning: 'WebCore::gFunctionMap' >>> defined but not used >>> make[1]: *** [.obj/release-shared-emb-x86/SVGElementFactory.o] >>> >>> So I am lost now, any help/assistance would be greatly appreciated. >>> >>> >>> Regards >>> gloridel >>> _______________________________________________ >>> webkit-qt mailing list >>> [email protected] >>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt >> >> > -- Alexis Menard (darktears) Software Engineer INdT Recife Brazil _______________________________________________ webkit-qt mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt
