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 :
Qt Code:
  1. QAxWidget * ax = new QAxWidget();
  2. bool ret1 = ax->setControl("{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}");
  3. QVariantList params;
  4. params << 1 << "192.168.0.50";
  5. int ret2 = ax->dynamicCall("SetURL(int, QString)", params).toInt();
To copy to clipboard, switch view to plain text mode 

I can compile it with Qt5 without problem but ret2 is giving me an error code

if I change my code to :
Qt Code:
  1. ...
  2. params << 1 << "";
  3. int ret2 = ax->dynamicCall("SetURL(int, QString)", params).toInt();
To copy to clipboard, switch view to plain text mode 

ret2 is good (but of course i need to put an IP Address)

Any idea ?
Thx !