Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    How to show swf file in webview!

    QML and Qt Quick
    2
    2
    1471
    Loading More Posts
    • 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.
    • I
      indruxneo last edited by

      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!

      x-neo

      1 Reply Last reply Reply Quote 0
      • E
        eman86 last edited by

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

        1 Reply Last reply Reply Quote 0
        • First post
          Last post