Re: [webkit-dev] RE: Error running Qt-launcher / safari

2007-10-20 Thread Charles Woloszynski
What is the state of QtWebKit?  Can I build QtLauncher and run it  
against the latest Qtopia core 4.3.2 on a PowerPC?  How about Qt core  
on a LInux x86?





On Oct 20, 2007, at 2:28 AM, Adam Roben wrote:


Yes, Safari will not work with a Qt build of WebKit.

-Adam

On Oct 19, 2007, at 9:58 PM, Amit Joshi wrote:



Also I would like to mention that I am running safari 3.0 (beta ?) on
winXP, is it possible that the webkit build is not compatible with  
this

particular version of safari ?

-Original Message-
From: Amit Joshi
Sent: Friday, October 19, 2007 2:32 PM
To: 'webkit-dev@lists.webkit.org'
Subject: Error running Qt-launcher / safari


After I was quite happy for being able to succesfully build the  
webkit

on winXp (qt) , I stumbled upon the next hurdle..ie. Launching
qt-launcher or safari with QtWebkit.dll

I am getting the following exception, possibly generated from
QtWebkit.dll

Access violation writing location 0x.


Here are two ways I am trying to run the launcher
A) from Qt-command prompt - I do 'perl run-launcher
B) from Qt-command prompt - I do c:\safari\safari.exe
/frameworkPath:c:\ydev\webKit\webKitBuild\Release\bin

Both result in the application launch blowing up a MS error window,
without any other feedback; The 'access violation' error I mentioned
above is only seen once I do 'debug' inside the MS-error window.

I would really appreciate any help here..

Thanks in advance..

- Amit
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev





___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


[webkit-dev] Building WebKit over Qt on a Linux platform

2007-10-23 Thread Charles Woloszynski
I am trying to build WebKit over Qt on a Linux platform.I have  
looked at the source tree, but I did not find any Makefiles that look  
maintained for Unix development.  I am willing to create these, but I  
need some sense of the organization of the project.  I cannot use  
Objective-C (I'd like to, but I'm not allowed :-(); My goal is to  
create a Qt application that can run the equivalent of Apple's  
dashboard widgets.  So, I need the rendering engine, the javascript  
engine, the CSS support, but not things like browser history, window  
support, etc.


Can someone suggest which directories I'd need to get compiled to get  
started on this?


Any help is greatly appreciated.

Charlie




___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


[webkit-dev] Getting started on building WebKit under Qt for Linux

2007-10-23 Thread Charles Woloszynski
I did some more looking, and I found http://trac.webkit.org/projects/ 
webkit/wiki/BuildingQtOnLinux to help get me started.


So, I downloaded gperf and installed it (configure; make; sudo make  
install)


Then I installed the unix extras (cd WebKitTools/Scripts; sudo ./ 
install-unix-extras)


Then I configured WebKit (WebKit/WebKitTools/Scripts/set-webkit- 
configuration --debug)


Then I exported my path to point to qmake (export PATH=~/qtopia-build/ 
qtopia/bin:$PATH)


Then I tried to run WebKit/WebKitTools/Scripts/build-webkit -qt
and I get an error about QMAKESPEC not being set.  I am new to qmake,  
so I suspect I don't really appreciate how it works.  Any advice/ 
pointers on this error would be greatly appreciated.



 ./build-webkit -qt
Calling 'qmake CONFIG+=qt-port -r OUTPUT_DIR=/home/charlie/webkit- 
build/WebKit/WebKitBuild/Debug /home/charlie/webkit-build/WebKit/ 
WebKit.pro CONFIG-=release CONFIG+=debug' in /home/charlie/webkit- 
build/WebKit/WebKitBuild/Debug ...


QMAKESPEC has not been set, so configuration cannot be deduced.
Error processing project file: /home/charlie/webkit-build/WebKit/ 
WebKit.pro

Failed to setup build environment using qmake!



Thanks in advance,

Charlie


___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


[webkit-dev] Does Webkit support cross-compilation?

2007-10-25 Thread Charles Woloszynski
I am trying to get webkit/qt built for a PPC processor, using a cross- 
compiler.  I have Qt cross-compiled and running on the target machine.


When I try to build the webkti for the PPC, I get an error with  
dftables.  Apparently, the build routine cross-compiled it instead of  
building it for the host platform.  I am guessing that I did not set  
up something correctly.Below is the output and the QMAKESPEC.  I  
don't see how to set it up to know about a cross-compilation.


Any suggestions is greatly appreciated.



Charlie


[EMAIL PROTECTED]:~> export QMAKESPEC=/home/charlie/qtopia- 
build/qtopia-core-opensource-src-4.3.2/mkspecs/qws/linux-ppc_82xx-g++/
[EMAIL PROTECTED]:~> export QTDIR=/home/charlie/qtopia-build/ 
qtopia-core-opensource-src-4.3.2/

[EMAIL PROTECTED]:~> export CROSS_COMPILE=ppc_82xx-
[EMAIL PROTECTED]:~> cd webkit-build/
[EMAIL PROTECTED]:~/webkit-build> ./WebKit/WebKitTools/Scripts/ 
build-webkit -qt --qmake=/home/charlie/qtopia-build/qtopia-core- 
opensource-src-4.3.2/bin/qmake
Calling '/home/charlie/qtopia-build/qtopia-core-opensource-src-4.3.2/ 
bin/qmake CONFIG+=qt-port -r OUTPUT_DIR=/home/charlie/webkit-build/ 
WebKit/WebKitBuild/Release /home/charlie/webkit-build/WebKit/ 
WebKit.pro CONFIG+=release CONFIG-=debug' in /home/charlie/webkit- 
build/WebKit/WebKitBuild/Release ...


Reading /home/charlie/webkit-build/WebKit/WebKit/qt/Plugins/ 
Plugins.pro [/home/charlie/webkit-build/WebKit/WebKitBuild/Release// 
WebKit/qt/Plugins]
Reading /home/charlie/webkit-build/WebKit/JavaScriptCore/pcre/ 
dftables.pro [/home/charlie/webkit-build/WebKit/WebKitBuild/Release// 
JavaScriptCore/pcre]
Reading /home/charlie/webkit-build/WebKit/WebCore/WebCore.pro [/home/ 
charlie/webkit-build/WebKit/WebKitBuild/Release//WebCore]
Reading /home/charlie/webkit-build/WebKit/JavaScriptCore/kjs/ 
testkjs.pro [/home/charlie/webkit-build/WebKit/WebKitBuild/Release// 
JavaScriptCore/kjs]
Reading /home/charlie/webkit-build/WebKit/WebKit/qt/QtLauncher/ 
QtLauncher.pro [/home/charlie/webkit-build/WebKit/WebKitBuild/ 
Release//WebKit/qt/QtLauncher]
Reading /home/charlie/webkit-build/WebKit/WebKitTools/DumpRenderTree/ 
qt/DumpRenderTree.pro [/home/charlie/webkit-build/WebKit/WebKitBuild/ 
Release//WebKitTools/DumpRenderTree/qt]

cd WebKit/qt/Plugins/ && make -f Makefile
make[1]: Entering directory `/home/charlie/webkit-build/WebKit/ 
WebKitBuild/Release/WebKit/qt/Plugins'
ppc_82xx-g++ -c -pipe -O2 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG - 
DQT_STATICPLUGIN -DQT_PLUGIN -DQT_GUI_LIB -DQT_NETWORK_LIB - 
DQT_CORE_LIB -DQT_SHARED -I/home/charlie/qtopia-build/qtopia-core- 
opensource-src-4.3.2/mkspecs/qws/linux-ppc_82xx-g++ -I/home/charlie/ 
webkit-build/WebKit/WebKit/qt/Plugins -I/home/charlie/qtopia-build/ 
qtopia-core-opensource-src-4.3.2/include/QtCore -I/home/charlie/ 
qtopia-build/qtopia-core-opensource-src-4.3.2/include/QtCore -I/home/ 
charlie/qtopia-build/qtopia-core-opensource-src-4.3.2/include/ 
QtNetwork -I/home/charlie/qtopia-build/qtopia-core-opensource- 
src-4.3.2/include/QtNetwork -I/home/charlie/qtopia-build/qtopia-core- 
opensource-src-4.3.2/include/QtGui -I/home/charlie/qtopia-build/ 
qtopia-core-opensource-src-4.3.2/include/QtGui -I/home/charlie/qtopia- 
build/qtopia-core-opensource-src-4.3.2/include -I/home/charlie/webkit- 
build/WebKit/WebKit/qt/Plugins -I/home/charlie/webkit-build/WebKit/ 
WebKit/qt/Plugins -I. -o ICOHandler.o /home/charlie/webkit-build/ 
WebKit/WebKit/qt/Plugins/ICOHandler.cpp

rm -f libqtwebico.a
ar cqs libqtwebico.a ICOHandler.o
make[1]: Leaving directory `/home/charlie/webkit-build/WebKit/ 
WebKitBuild/Release/WebKit/qt/Plugins'

cd JavaScriptCore/pcre/ && make -f Makefile.dftables
make[1]: Entering directory `/home/charlie/webkit-build/WebKit/ 
WebKitBuild/Release/JavaScriptCore/pcre'
ppc_82xx-gcc -c -pipe -O2 -Wall -W -DBUILDING_QT__ -I/home/charlie/ 
qtopia-build/qtopia-core-opensource-src-4.3.2/mkspecs/qws/linux- 
ppc_82xx-g++ -I../../../../JavaScriptCore/pcre -I../../../../ 
JavaScriptCore/wtf -I../../../../JavaScriptCore/pcre -I. -o  
dftables.o ../../../../JavaScriptCore/pcre/dftables.c
ppc_82xx-g++ -Wl,-rpath,/usr/local/Trolltech/QtopiaCore-4.3.2-generic/ 
lib -o tmp/dftables dftables.o
make[1]: Leaving directory `/home/charlie/webkit-build/WebKit/ 
WebKitBuild/Release/JavaScriptCore/pcre'

cd WebCore/ && make -f Makefile
make[1]: Entering directory `/home/charlie/webkit-build/WebKit/ 
WebKitBuild/Release/WebCore'
/home/charlie/webkit-build/WebKit/WebKitBuild/Release/JavaScriptCore/ 
pcre/tmp/dftables tmp/chartables.c
/home/charlie/webkit-build/WebKit/WebKitBuild/Release/JavaScriptCore/ 
pcre/tmp/dftables: /home/charlie/webkit-build/WebKit/WebKitBuild/ 
Release/JavaScriptCore/pcre/tmp/dftables: cannot execute binary file

make[1]: *** [tmp/chartables.c] Error 126
make[1]: Leaving directory `/home/charlie/webkit-build/WebKit/ 
WebKitBuild/Release/WebCore'

make: *** [sub-WebCore-make_default-ordered] Error 2


=== qmake.conf

#
# qmake configuration for l

Re: [webkit-dev] Moving away from qmake

2007-11-12 Thread Charles Woloszynski
I am working on a port of WebKit on Qt to a PowerPC platform.  Please  
make sure that we don't break the Qt port in this switch.  I am  
comfortable with autotools, so that is not a big deal for me.  I am  
concerned, however, that this will cause a fork with the work being  
done by the Trolltech folks (since I think that they are primarily  
qmake-promoters).


Can we get some feedback from Trolltech on their ability to accept a  
switch to autotools for Webkit/Qt so we can switch to one new engine  
for all these ports?


Thanks,

Charlie

On Nov 12, 2007, at 7:14 AM, Robert Norris wrote:


If we cannot reach a conclusion, the GTK+ port will most likely go
ahead and switch to autotools.


I'm one person with a highly niche port, but for what its worth I'd
support a move to autotools.

I'm doing a port to AROS, which currently means cross-building  
WebKit on
Linux. I opted to use qmake because it was the easiest one to get  
set up
in a hurry (I have a little GTK+ experience so I could see how to  
cobble

together what I needed from the gtk-port stuff). Getting the
cross-compile happening is a bit of a hack though, and qmake docs are
rather thin.

If qmake is as hard to get hold of as you say (I don't actually  
know, my

distribution had it packaged), then I really don't want to put that on
my developers. Besides, eventually we will want to be able to develop
WebKit natively on AROS. Its highly non-POSIX, but we already have  
ports

of most of the tools need to do configure stuff. Since QT is not
something we'll ever need, a port isn't likely to appear.

Also cross-building is something I already know how to do with
autotools, which will mean less effort for me getting it set up.

2c.

Cheers,
Rob.
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev



Charles Woloszynski
Innovative Concepts, Inc.
Sr. Director, Advanced Networking Systems

[EMAIL PROTECTED]
(703) 893-2007 x506



___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] Moving away from qmake

2007-11-12 Thread Charles Woloszynski
Ok, thanks for the feedback.  I have had some issues with the cross- 
compilation of WebKit (dftables being built for the cross-platform,  
not the native platform).  Any chance I can get someone doing the  
WebKit Qt port to address this?  I don't know qmake well enough to  
make the changes.  The defect was there two weeks ago, and I don't  
think I've seen any changes in that area since...


Charlie

On Nov 12, 2007, at 8:19 AM, Simon Hausmann wrote:


On Monday 12 November 2007 14:00:31 Charles Woloszynski wrote:

I am working on a port of WebKit on Qt to a PowerPC platform.  Please
make sure that we don't break the Qt port in this switch.  I am
comfortable with autotools, so that is not a big deal for me.  I am
concerned, however, that this will cause a fork with the work being
done by the Trolltech folks (since I think that they are primarily
qmake-promoters).

Can we get some feedback from Trolltech on their ability to accept a
switch to autotools for Webkit/Qt so we can switch to one new engine
for all these ports?


Trolltech is likely to continue to use the qmake based build system  
for now.
That is because we are working on integrating WebKit into the build  
of Qt
itself (which is built using qmake) and we need to be able to build  
WebKit

without cygwin or bash installed on Windows.

Simon
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


Charles Woloszynski
Innovative Concepts, Inc.
Sr. Director, Advanced Networking Systems

[EMAIL PROTECTED]
(703) 893-2007 x506



___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev