Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. UI crash while enabling the flash player in webview
Forum Updated to NodeBB v4.3 + New Features

UI crash while enabling the flash player in webview

Scheduled Pinned Locked Moved Qt WebKit
2 Posts 2 Posters 1.7k 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.
  • S Offline
    S Offline
    shanthi22
    wrote on last edited by
    #1

    in WebView the wrote the following line:
    settings.pluginsEnabled: true
    so it enabled the flash plugin!

    The problem is that, the url is of web conferences, which uses the flash plugin to enable video conference. When i am clicking on end call the ui is completly crashing and coming to login terminal. Even when i click quit i.e.,qml button in the case of conference it is going to login terminal.
    In the case of conference, only these two problems are occuring, other than that it is not crashing.
    what can be the problem? Is the problem is with qml ui or else with the flash plugin!
    Note: the only one line “settings.pluginsEnabled: true” causing the problem!
    2. I am also getting one more error as “ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused”

    the program is:
    main.qml
    —————
    import QtQuick 1.0
    import QtWebKit 1.0

    Rectangle { id:main width: 1280 height: 800 Button{ id: button height: 50 width: 100 anchors.centerIn: parent onButtonClicked: { console.log(“Mouse was clicked”); brow.visible = true; brow.urlString = “some url with flash plugin”; console.log(“url:”,brow.urlString); } } WebBrowser{ id: brow visible: false }
    }
    ——————————
    WebBrowser.qml:
    ——————————
    import QtQuick 1.1
    import QtWebKit 1.0

    Rectangle
    { id: webTray width: 1280 height: 800 property string urlString: “”
    Button { id: callaccept y: 0.01webTray.height anchors.right: webTray.right; anchors.rightMargin: 0.05webTray.width displayText: “Quit”; width: 0.05webTray.width; height: 0.04webTray.height; onClicked: { console.log(“clicked on quit”); brow.visible = false; brow.urlString = “” console.log(“browser is visible?:”,brow.visible); } } Rectangle { width: webTray.width; height: 2; color: “silver”; anchors.bottom: web.top; } height: 50 width: 100 anchors.centerIn: parent onButtonClicked: { WebView { id: web preferredWidth: webTray.width preferredHeight: webTray.height – 0.06webTray.height; y: 0.06webTray.height transformOrigin: Item.TopLeft settings.pluginsEnabled: true url: webTray.urlString smooth: false onAlert: console.log(message) } }

    Please help me out, I am really thankful for them. I am in solution from past 3days!! Thankyou

    1 Reply Last reply
    0
    • S Offline
      S Offline
      shyju
      wrote on last edited by
      #2

      did you try to run your application in debugger mode of QtCreator. this might give a point were your app got crashed.

      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