Integrating a QAxObject in qml



  • I have a QAxObject for flash player and I want to display it on my qml file, I'm a starter and I cannot find any simple example on this! This is my code!
    @
    viewer.setOrientation(QmlApplicationViewer::ScreenOrientationAuto);
    viewer.setMainQmlFile(QLatin1String("qml/WebViewTest/main.qml"));
    viewer.showFullScreen();
    QAxObject *flashplayer = new QAxObject("D27CDB6E-AE6D-11cf-96B8-444553540000");
    flashplayer->dynamicCall("LoadMovie(int, const QString&)",0,"Start.swf");
    @

    [[Moved to Qt Quick forum where this should get more exposure, Tobias]]


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.