My konqueror_embedded cann't support javascript,need for help!

lester94 <[email protected]> Fri, 7 Mar 2008 14:07:43 +0800 (CST)
Newsgroups gmane.comp.kde.devel.konq-e
Message-ID <[email protected]>
--===============1722379885==
Content-Type: multipart/alternative; 
	boundary="----=_Part_24922_30088000.1204870063257"

------=_Part_24922_30088000.1204870063257
Content-Type: text/plain; charset=gbk
Content-Transfer-Encoding: 7bit

Hello:
    I need a web browser that can work on my mainstoneII(arm) board,so I try to cross compile a konqueror(konqueror-embedded-snapshot-20030705).at last I successfully get the binary file "konqueror",which can work on my board in the qt grafic envirenment.while using konqueror on the board ,I found that it dosen't support JavaScript .when I cross-compiled konqueror,I did choose the options below:--with-javascript=static --enable-jshostext.but it seems they didn't work.
    for example ,when I open a webpage which source code is as below:
--------------------------------------
<html>
<head>
My first JavaScript!
</head>
<body>
<br>
This is a normal HTML document.
<br>
  <script language="LiveScript">
    document.write("this by JavaScript!")
  </script>
<br>
Back in HTML again.
</body>
</html>
---------------------------------------
I got :
---------------------------------------
My first JavaScript!
This is a normal HTML document.
Back in HTML again.
---------------------------------------
<img src="">
I'm sure that the variables and envirenment are set correctly .could tell me why it cann't support Javascript?
thank you very much!!!
APPENDIX:how I build the konqueror
1:build qt-embedded2.3.10
/configure -qconfig qpe -system-jpeg -no-xft -depths 16 -xplatform linux-arm-g++ -gif -thread
make
2:build qtopia2.1.1
/configure -languages zh_CN -thread -xplatform linux-arm-g++ -displaysize 1024x768 -prefix=$QPEDIR/../target
make
3:build konqueror-embedded-snapshot-20030705
/configure \
--prefix=/root/opt/9307-work/konq/target \
--host=arm-linux \
--target=arm-linux \
--disable-debug \
--enable-embedded \
--enable-qt-embedded \
--enable-qpe \
--with-gui=qpe \
--enable-static \
--disable-shared \
--enable-mt \
--enable-qtopia \
--enable-largeicons \
--with-extra-libs=/usr/local/arm/3.3/lib:$QPEDIR/lib:/root/opt/9307-work/openssl-0.9.7d \
--with-extra-includes=/usr/local/arm/3.3/include:$QPEDIR/include:/root/opt/9307-work/openssl-0.9.7d/include \
--with-qt-includes=$QTDIR/include \
--with-qt-libraries=$QTDIR/lib \
--with-qtopia-dir=$QPEDIR \
--enable-fontsubs \
--enable-sidebar \
--enable-readwrite \
--with-javascript=dynamic \
--enable-jshostext \
--with-ssl-dir=/root/opt/9307-work/openssl-0.9.7d
make
 
 
 
------=_Part_24922_30088000.1204870063257
Content-Type: text/html; charset=gbk
Content-Transfer-Encoding: quoted-printable

<DIV>Hello:<BR>&nbsp;&nbsp;&nbsp; I need a web browser that can work on my =
mainstoneII(arm) board,so I try to cross compile a konqueror(konqueror-embe=
dded-snapshot-20030705).at last I successfully get the binary file "konquer=
or",which can work on my board in the qt grafic envirenment.while using kon=
queror on the board ,I found that it dosen't support JavaScript .when I cro=
ss-compiled konqueror,I did choose the options below:--with-javascript=3Dst=
atic --enable-jshostext.but it seems they didn't work.</DIV>
<DIV>&nbsp;&nbsp;&nbsp; for example ,when I open a webpage which source cod=
e is as below:<BR>--------------------------------------<BR>&lt;html&gt;<BR=
>&lt;head&gt;<BR>My first JavaScript!<BR>&lt;/head&gt;<BR>&lt;body&gt;<BR>&=
lt;br&gt;<BR>This is a normal HTML document.<BR>&lt;br&gt;<BR>&nbsp; &lt;sc=
ript language=3D"LiveScript"&gt;<BR>&nbsp;&nbsp;&nbsp; document.write("this=
 by JavaScript!")<BR>&nbsp; &lt;/script&gt;<BR>&lt;br&gt;<BR>Back in HTML a=
gain.<BR>&lt;/body&gt;<BR>&lt;/html&gt;<BR>--------------------------------=
-------<BR>I got :<BR>---------------------------------------<BR>My first J=
avaScript!<BR>This is a normal HTML document.</DIV>
<DIV>Back in HTML again.<BR>---------------------------------------<BR>&lt;=
img src=3D""&gt;<BR>I'm sure that the variables and envirenment are set cor=
rectly .could tell me why it cann't support Javascript?<BR>thank you very m=
uch!!!</DIV>
<DIV>APPENDIX:how I build the konqueror</DIV>
<DIV>1:build qt-embedded2.3.10<BR>./configure -qconfig qpe -system-jpeg -no=
-xft -depths 16 -xplatform linux-arm-g++ -gif -thread<BR>make</DIV>
<DIV>2:build qtopia2.1.1<BR>./configure -languages zh_CN -thread -xplatform=
 linux-arm-g++ -displaysize 1024x768 -prefix=3D$QPEDIR/../target<BR>make</D=
IV>
<DIV>3:build konqueror-embedded-snapshot-20030705<BR>./configure \<BR>--pre=
fix=3D/root/opt/9307-work/konq/target \<BR>--host=3Darm-linux \<BR>--target=
=3Darm-linux \<BR>--disable-debug \<BR>--enable-embedded \<BR>--enable-qt-e=
mbedded \<BR>--enable-qpe \<BR>--with-gui=3Dqpe \<BR>--enable-static \<BR>-=
-disable-shared \<BR>--enable-mt \<BR>--enable-qtopia \<BR>--enable-largeic=
ons \<BR>--with-extra-libs=3D/usr/local/arm/3.3/lib:$QPEDIR/lib:/root/opt/9=
307-work/openssl-0.9.7d \<BR>--with-extra-includes=3D/usr/local/arm/3.3/inc=
lude:$QPEDIR/include:/root/opt/9307-work/openssl-0.9.7d/include \<BR>--with=
-qt-includes=3D$QTDIR/include \<BR>--with-qt-libraries=3D$QTDIR/lib \<BR>--=
with-qtopia-dir=3D$QPEDIR \<BR>--enable-fontsubs \<BR>--enable-sidebar \<BR=
>--enable-readwrite \<BR>--with-javascript=3Ddynamic \<BR>--enable-jshostex=
t \<BR>--with-ssl-dir=3D/root/opt/9307-work/openssl-0.9.7d</DIV>
<DIV>make</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV><br><!-- footer --><br><hr>
<a style=3D"font-size:14px;line-height:15px; color:#000; text-decoration:no=
ne" href=3D"http://event.mail.163.com/chanel/click.htm?from=3DNO_26&domain=
=3D163" target=3D"_blank"><span style=3D"text-decoration:underline; color:b=
lue">=D6=D0 =B9=FA =D7=EE =C7=BF =CD=F8 =D3=CE --- =CD=F8 =D2=D7 =C3=CE =BB=
=C3 =CE=F7 =D3=CE =A3=AC166 =CD=F2 =CD=E6 =BC=D2 =CD=AC =CA=B1 =D4=DA =CF=
=DF</span> </a>
------=_Part_24922_30088000.1204870063257--


--===============1722379885==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
konq-e mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/konq-e

--===============1722379885==--