Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / qt / 2009-06

New LCL/Qt WebKit Demo: javascript, plugins, cookies, proxy and server authentication

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Den Jean

Hi,

I uploaded a new version of the LCL/Qt WebKit demo browser. http://users.telenet.be/Jan.Van.hijfte/qtforfpc/lclwebkit2.tar.gz

Javascript and plugins were already supported:
http://doc.trolltech.com/4.5/qtwebkit.html#netscape-plugin-support

Added cookie and authentication support to the FreePascal Qt4 Binding with V71RC1 (Qt 4.5.X): (binary for linux 32 only)
http://users.telenet.be/Jan.Van.hijfte/qtforfpc/bin-qt4pas-V1.71RC1_Qt4.5.1.tar.gz http://users.telenet.be/Jan.Van.hijfte/qtforfpc/qt4pas-V1.71RC1_Qt4.5.1.tar.gz http://users.telenet.be/Jan.Van.hijfte/qtforfpc/win_qt4pas-V1.71RC1_Qt4.5.1.zip http://users.telenet.be/Jan.Van.hijfte/qtforfpc/mac_qt4pas-V1.71RC1_Qt4.5.1.zip

The lclwebkit demo saves proxy settings and cookies in GetAppConfigDir(False) The cookies are not maintained (i.e. no policing, no removal of expired or older versions of same url etc) This is left as an exercise ;-)

Please test it and report. Then I will release it as V1.71 with binaries for all platforms (one at a time ;-) To install, compile binding library (report/update wikies if you have troubles with that) then copy V1.71RC1 qt4.pas on top of lazarus/lcl/interfaces/qt/qt45.pas in a lazarus svn. For lazarus code completion, code browsing and hints to work including unit qt4.pas, copy V1.71RC1 qt4.pas on top of qt4.pas instead of qt45.pas (Qt_45 only then) http://users.telenet.be/Jan.Van.hijfte/qtforfpc/Lazarus_LCL_Qt.png

Needs Qt 4.5.X. So install Qt 4.5.X system wide OR compile Qt somewhere and do

$ export LD_LIBRARY_PATH=/some/where/qt-all-opensource-src-4.5.1/lib
// compile svn lazarus with on linux
$make PREFIX=/usr clean all LCL_PLATFORM=qt OPT="-dUSE_QT_45"
// in same console as you did export, start lazarus
$./startlazarus

regards,

Den Jean

Reply by email

Antonio Sanguigni
Den Jean wrote
Hi, I uploaded a new version of the LCL/Qt WebKit demo browser. http://users.telenet.be/Jan.Van.hijfte/qtforfpc/lclwebkit2.tar.gz

Hi Den Jean,

it is working good, thank you :). I just have a problem I had also into konqueror that I solved in its configuration settings, tabbed page Javascript as you can see from this image:

http://www.pieroni.biz/konq_settings.png

In the bottom of this image, the first radio button is now on Allow (Permetti in italian) rather than on Intelligent (Intelligente in italian as before).

Do you have an idea how can I set that parameter ?

Thanks.
Antonio

- --
Antonio Sanguigni alias slapshot
- ---------------------------------------------------------------------- GioveLUG (Linux User Group) - http://www.giovelug.org Edupup (Educational distro) - http://www.pieroni.biz/edupup

Reply by email