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. How to show swf file in webview!
Qt 6.11 is out! See what's new in the release blog

How to show swf file in webview!

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 2 Posters 1.8k 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 an application which has to load an swf in a qml application! I had successfully loaded youtube etc by specifying url in the url field inside webview! but when I add my swf file I cannot see my file loaded! How can I acheive this! This is my qml code!

    .....
    @
    WebView {
    id: webview;
    x: 0
    y: 0
    anchors.horizontalCenter: parent.horizontalCenter
    anchors.verticalCenter: parent.verticalCenter
    url: "neo.swf";
    preferredWidth: parent.width
    preferredHeight: parent.height
    scale: 1
    smooth: false
    settings.pluginsEnabled: true;
    }
    @
    ................
    any help!

    1 Reply Last reply
    0
    • E Offline
      E Offline
      eman86
      wrote on last edited by
      #2

      the file's location, where is? try it with the file path

      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