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. How does QWebKit play a flash?
Forum Updated to NodeBB v4.3 + New Features

How does QWebKit play a flash?

Scheduled Pinned Locked Moved Qt WebKit
19 Posts 6 Posters 21.2k 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.
  • F Offline
    F Offline
    frank.fang.kun
    wrote on last edited by
    #8

    Hi guys,

    Today, I tried Phonon library to play a flash. It is failed because QuickTime on which Phonon depends does not support swf(flash file format). Ooops :-(

    -Frank

    Frank | Frank.Fang.Kun@gmail.com

    1 Reply Last reply
    0
    • M Offline
      M Offline
      MAMartins
      wrote on last edited by
      #9

      I have the same problem, how do i compile my app as 32bit?

      if I make an project only of qml and use an webview I can run html5 videos with no problem but the debugger shows lots of errors and some times the app crash, on qt I get the same error as the OP

      1 Reply Last reply
      0
      • M Offline
        M Offline
        MAMartins
        wrote on last edited by
        #10

        any help?!

        1 Reply Last reply
        0
        • F Offline
          F Offline
          frank.fang.kun
          wrote on last edited by
          #11

          Do you work on XCode?

          If so, follow the step: "Targets" -> "(Your Application)" -> "Get Info" -> go to "Build" table -> go to "Architectures" -> go to "Architectures" -> Select "32-bit Itel".

          That's all. Hope that it can help you.

          Frank | Frank.Fang.Kun@gmail.com

          1 Reply Last reply
          0
          • F Offline
            F Offline
            frank.fang.kun
            wrote on last edited by
            #12

            I resolved this problem. The solution just is to invoke a 32bit process(in fact, it is a application) to play a flash while a 64bit application executes. So far, everything is OK. By the way, I don't use WebKitPluginHost.app. :-)

            Generally, I expect that Adobe can release early 64bit flash plug-in. After all, it is a real way.

            Frank | Frank.Fang.Kun@gmail.com

            1 Reply Last reply
            0
            • F Offline
              F Offline
              frank.fang.kun
              wrote on last edited by
              #13

              Anyway, thank Rory and Tomma.

              Frank | Frank.Fang.Kun@gmail.com

              1 Reply Last reply
              0
              • M Offline
                M Offline
                MAMartins
                wrote on last edited by
                #14

                thanks, I don't work on xcode but i've figured it out how to do.

                i've added this to my .pro file:
                CONFIG -= x86_64 ppc64
                CONFIG *= x86

                I don't need a native 64bit app so i can build it all in 32 :)

                1 Reply Last reply
                0
                • G Offline
                  G Offline
                  goetz
                  wrote on last edited by
                  #15

                  If you want to make some older Mac users with PowerPC machines (yes, there are still a lot of them around running OS X 10.5!), then change your line to this in order to make a 32 bit universal app:

                  @
                  CONFIG *= x86 ppc
                  @

                  http://www.catb.org/~esr/faqs/smart-questions.html

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    MAMartins
                    wrote on last edited by
                    #16

                    with ppc I get errors as i've posted in the other thread :)

                    1 Reply Last reply
                    0
                    • G Offline
                      G Offline
                      goetz
                      wrote on last edited by
                      #17

                      Sorry, I missed that. It was just that people slowly forget about this ancient platforms in their apps :-) In most cases there is no or little technical reason for this.

                      http://www.catb.org/~esr/faqs/smart-questions.html

                      1 Reply Last reply
                      0
                      • P Offline
                        P Offline
                        pump705
                        wrote on last edited by
                        #18

                        I had a similar problem recently,os:embedded linux
                        firefox play is ok , but Qtwebkit is not play

                        @
                        QWebSettings::globalSettings()->setAttribute(QWebSettings::PluginsEnabled, true);
                        QWebSettings::globalSettings()->setAttribute(QWebSettings::JavascriptEnabled, true);
                        QWebSettings::globalSettings()->setAttribute(QWebSettings::AutoLoadImages, true);
                        view = new QWebView(this);
                        view->load(url);
                        @

                        libflashplayer.so is save /root/.mozilla/plugins

                        [EDIT: code formatting, please wrap in @-tags, Volker]

                        1 Reply Last reply
                        0
                        • P Offline
                          P Offline
                          pump705
                          wrote on last edited by
                          #19

                          who help me?

                          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