How does one build a custom widget in Qt/C++ (version 5.5) that loads the native OSX webkit? I read this tutorial but need to do something more powerful because Qt doesn't already contain the native webkit.
Qt 5.5 has a "tech preview" for the native webkit, but it's buggy -- when you load form controls, they appear all wonky.
I've taught myself some Objective C. So, I was wondering if I had to build something in Objective C and then somehow load it inside Qt/C++?
Or, perhaps I can build the interface in Objective C and then have it call Qt/C++?
Ultimately, here's what I want:
Uses native OSX webkit, not the one bundled with Qt, not the tech preview.
Embeds a link to my Qt/C++ class in Javascript. So, I can do something like:
var sFileSelection = cpp.selectFile('*.txt');
and it calls a Qt class methodselectFile(QString sFile)
to do work such as show a popup select file window, and then Javascript receives this back insFileSelection
.