Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Integrating a QAxObject in qml
Qt 6.11 is out! See what's new in the release blog

Integrating a QAxObject in qml

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 1.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    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]]

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved