gegebelzebuth
26th December 2014, 15:13
Hello everybody,
I'm having a problem porting an application from Qt 4.8 to Qt 5.3
That code is working with Qt 4.8 :
QAxWidget * ax = new QAxWidget();
bool ret1 = ax->setControl("{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}");
QVariantList params;
params << 1 << "192.168.0.50";
int ret2 = ax->dynamicCall("SetURL(int, QString)", params).toInt();
I can compile it with Qt5 without problem but ret2 is giving me an error code
if I change my code to :
...
params << 1 << "";
int ret2 = ax->dynamicCall("SetURL(int, QString)", params).toInt();
ret2 is good (but of course i need to put an IP Address)
Any idea ?
Thx !
I'm having a problem porting an application from Qt 4.8 to Qt 5.3
That code is working with Qt 4.8 :
QAxWidget * ax = new QAxWidget();
bool ret1 = ax->setControl("{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}");
QVariantList params;
params << 1 << "192.168.0.50";
int ret2 = ax->dynamicCall("SetURL(int, QString)", params).toInt();
I can compile it with Qt5 without problem but ret2 is giving me an error code
if I change my code to :
...
params << 1 << "";
int ret2 = ax->dynamicCall("SetURL(int, QString)", params).toInt();
ret2 is good (but of course i need to put an IP Address)
Any idea ?
Thx !