[Qt-interest] Qt application as browser plugin ?

Martin Schröer gordon at gordonswelt.de
Wed Mar 10 13:36:13 CET 2010


Francesco Tamagni schrieb:
> On Wed, Mar 10, 2010 at 3:11 AM, Martin Schröer <gordon at gordonswelt.de> wrote:
>   
>> This message is an addition to the message i posted earlier, in which i
>> described that
>> using the current version of Qt [which is 4.6.2] the qtbrowserplugin
>> solution
>> supplied by Nokia / Trolltech won't work anymore.
>>     
>
> sorry i can't find your previous message, but i'm using qtbrowserplugin with
> current QT 4.6.2 and it works for me!
>
> francesco
>
>   

Please give me further information about this.
I'm trying to compile it using Qt 4.6.2 with MinGW 10 on Windows XP.

First of all, it complains about QtNPStream not being declared properly
and gives two additional warnings about NPAllocate and NPDeallocate 
being declared but never used.
"error: ISO C++ forbids declaration of 'QtNPStream' with no type"

While the QtNPStream issue can be solved easily by addition of a class 
QtNPStream declaration,
the compiled dll won't run in the browser ( i'm using Firefox 3.5.8 ). 
Further investigation of this
issue using the google Chrome browser is showing a
"procedure entry point _Z14qWinMsgHandler9QtMsgTypePKc could not be 
located in dll QtCore4.dll"
error.

I also traced the possibility that my PATH settings were incorrect, thus 
pointing to Qt QLLs of an earlier
Qt install, but didn't find anything - path is pointing to current Qt 
version 4.6.2 correctly.

I'm confused.

Martin



More information about the Qt-interest-old mailing list