[Interest] Carbon/Cocoa - browserplugin

"Alexander Carôt" alexander_carot at gmx.net
Sun Nov 4 21:06:35 CET 2012


Hello all,

I am working on updating the qtbrowserplugin in order to make it running with current Qt versions. Regarding the MAC version that requires a Cocoa version besides the current Carbon solution. In order to get started: 

When trying to compile the current version I get these errors: 

../src/qtbrowserplugin_mac.cpp: In constructor ‘QMacBrowserRoot::QMacBrowserRoot(OpaqueControlRef*)’:
../src/qtbrowserplugin_mac.cpp:55: error: ‘HIViewGetWindow’ was not declared in this scope
../src/qtbrowserplugin_mac.cpp:63: error: ‘GetWindowProperty’ was not declared in this scope
../src/qtbrowserplugin_mac.cpp:65: error: ‘RemoveWindowProperty’ was not declared in this scope
../src/qtbrowserplugin_mac.cpp:74: error: ‘SetWindowProperty’ was not declared in this scope
../src/qtbrowserplugin_mac.cpp: In function ‘bool qtns_event(QtNPInstance*, NPEvent*)’:
../src/qtbrowserplugin_mac.cpp:257: error: ‘GetMouse’ was not declared in this scope
../src/qtbrowserplugin_mac.cpp:258: error: ‘LocalToGlobal’ was not declared in this scope
../src/qtbrowserplugin_mac.cpp:263: error: ‘FindWindow’ was not declared in this scope
../src/qtbrowserplugin_mac.cpp:265: error: ‘GetWindowFromPort’ was not declared in this scope
../src/qtbrowserplugin_mac.cpp:338: error: ‘FindWindow’ was not declared in this scope
../src/qtbrowserplugin_mac.cpp:365: error: ‘GetWindowFromPort’ was not declared in this scope
../src/qtbrowserplugin_mac.cpp: In function ‘void* MachOFunctionPointerForCFMFunctionPointer(void*)’:
../src/qtbrowserplugin_mac.cpp:442: error: cast from ‘void*’ to ‘UInt32’ loses precision
../src/qtbrowserplugin_mac.cpp:443: error: cast from ‘void*’ to ‘UInt32’ loses precision
../src/qtbrowserplugin_mac.cpp:448: error: ‘MakeDataExecutable’ was not declared in this scope
../src/qtbrowserplugin_mac.cpp: In function ‘void qtns_embed(QtNPInstance*)’:
../src/qtbrowserplugin_mac.cpp:485: error: ‘GetWindowFromPort’ was not declared in this scope
../src/qtbrowserplugin_mac.cpp:488: error: ‘GetRootControl’ was not declared in this scope
../src/qtbrowserplugin_mac.cpp:490: error: ‘HIViewGetRoot’ was not declared in this scope
../src/qtbrowserplugin_mac.cpp: In function ‘void qtns_setGeometry(QtNPInstance*, const QRect&, const QRect&)’:
../src/qtbrowserplugin_mac.cpp:503: error: ‘GetWindowFromPort’ was not declared in this scope
../src/qtbrowserplugin_mac.cpp:505: error: ‘GetWindowBounds’ was not declared in this scope


Any hint appreciated how I shall approach this problem and to get started.

Thanks,
best

Alex




-- 
http://www.carot.de
http://www.triologue.de
Email : Alexander at Carot.de
Tel.: +49 (0)177 5719797






More information about the Interest mailing list