activeqt

Qt Webkit bridge ActiveQt string

情到浓时终转凉″ 提交于 2019-12-25 02:16:43
问题 See also for part of my issue: String passing from JavaScript to Qt/C++ object I use this custom WebPage on my WebView (using setPage ), the strings are passed in wrongly. When I disable calling setPage , the strings passed correctly. I have a C++ object (that inherits from QWidget ) that displays an activeX on a webpage (using ActiveQt and QWebView ). The ActiveX object displays just fine. I've registered the custom type and used the Qt MetaType system to instantiate the HTML object. If I

How to use VARIANT* with dynamicCall?

允我心安 提交于 2019-12-08 08:12:19
问题 I'm trying to use a COM object and i'm having problem with the parameter type VARIANT*. I can use the functions of the COM object just fine, except when they have a parameter of this type. The doc generated by generateDocumentation is : QVariantList params = ... object->dynamicCall("GetRanges(int,int,int&, QVariant&)", params); According to the doc provided with the COM object, the parameters should be of type LONG, LONG, LONG* and VARIANT*, and it is precised that the VARIANT* is a pointer