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. Is this flash plugin problem.....??
Forum Updated to NodeBB v4.3 + New Features

Is this flash plugin problem.....??

Scheduled Pinned Locked Moved QML and Qt Quick
3 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.
  • 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"

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

      Please help me,i will be very thankful for u! I am in search of the solution from 2days...

      1 Reply Last reply
      0
      • S Offline
        S Offline
        shanthi22
        wrote on last edited by
        #3

        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.01*webTray.height
            anchors.right: webTray.right;
            anchors.rightMargin: 0.05*webTray.width
            displayText: "Quit";
            width: 0.05*webTray.width;
            height: 0.04*webTray.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.06*webTray.height;
            y: 0.06*webTray.height
            transformOrigin: Item.TopLeft
            settings.pluginsEnabled: true
            url: webTray.urlString
            smooth: false
            onAlert: console.log(message)
        }
        

        }

        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