PDA

View Full Version : Gecko embedding in Windows...



Breggy
26th December 2006, 17:02
HELP!

On suggestion from a user over at qtforum.org, I post the following question...

Has anyone successfully compiled the gecko engine in Windows XP with Cygwin? I really need the gecko engine for a help browser, because QTextBrowser does not support frames. The pages just show up as blank.

Every time I find someone who is successful at this on the net (mozdev forums), they never bother to respond back and tell how they did it. I know it can be done. I just need to know how to do it. I've heard of a 'recipe' on how to compile it on the net, but when I follow the only 'recipe' I found, I get scripting errors that nobody seems to know how to resolve.

I post this on these Qt forums instead of the mozdev forums because other Qt developers keep telling others to embed gecko, embed gecko, but they never bother to explain HOW. Well I've been coding for over 22 years and I can't figure it out! Can someone help me? It's for a non-profit project, and I'm using Qt 4.2.2 Open Source, so imbedding IE with ActiveQt is out of the question. Besides, I'd like for my app to be fully cross-platform, if I can help it.

Thanks in advance.

wysota
26th December 2006, 17:18
I have never than that myself, but I think these resources may be helpful:
http://developer.mozilla.org/en/docs/Gecko_Embedding_Basics
http://www.mozilla.org/projects/embedding/faq.html

Breggy
26th December 2006, 18:01
I have never than that myself, but I think these resources may be helpful:
http://developer.mozilla.org/en/docs/Gecko_Embedding_Basics
http://www.mozilla.org/projects/embedding/faq.html

Hi wysota. I've already followed those sources to a tee, with no luck at all. As a matter of fact, those links lead me to the 'recipe' that I found, that when followed, only leads to further frustration.

Thanks for your response though.

camel
28th December 2006, 10:52
Have you tried/looked at webkit (http://webkit.org/)? I have no idea if it works, and how it could work, but I read that some people are (back-)porting it to Qt.

Perhaps you do not need gecko after all... ;-)

Have a nice Day

Lele
2nd January 2007, 19:04
Same problem for me, I need to have a Qwidget capable of showing HTML pages and interact with javascript call-backs.
At the moment I'm investingating llMozLib which could be a way to avoid compiling Mozilla, but I have some problem in integrating it with Visual Studio 2005.

http://www.ubrowser.com/llmozlib.php

Hope this link could help you

Has anyone tried some different approach?

thanks

bye