[Qt-interest] Can't build qtbrowserplugin examples anymore ?

Martin Schröer gordon at gordonswelt.de
Mon Mar 8 18:50:08 CET 2010


After upgrading to Qt 4.6.2 and using MinGW compiler,
i cannot compile any of the example projects supplied with the 
qtbrowserplugin
package ( see 
http://qt.nokia.com/doc/solutions/4/qtbrowserplugin/developingplugins.html* 
*) anymore.

Compiler argues about

qtbrowserplugin_p.h:76: error: ISO C++ forbids declaration of 
'QtNPStream' with no type#

and warns about

qtbrowserplugin.cpp:298: warning: 'NPObject* NPAllocate(NPP_t*, 
NPClass*)' defined but not used
qtbrowserplugin.cpp:307: warning: 'void NPDeallocate(NPObject*)' defined 
but not used


This is out-of-the-box code and compiler suite as supplied by the 
Trolltech / Nokia website.

Can anyone confirm those errors and maybe supply a workaround ?


Martin



More information about the Qt-interest-old mailing list