Results 1 to 1 of 1

Thread: Qt with Flash Application

  1. #1
    Join Date
    Nov 2010
    Posts
    10
    Thanks
    7
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Qt with Flash Application

    Hello everyone,

    this is my first Thread ! sorry if i do something wrong !!

    here is my probleme:

    i made a flash application (skytrain map with Price calculator between station)

    -1 map with a zoom application (drag)
    -Station calculator
    -4 buttons (goes to different Frame etc..)

    basic flash application with action script 2


    what i want its to make my application work on Nokia (Qt)

    so what i want to do is to put my .swf into Qt somehow and make my flash work just like it work with the flash player !! and be able to interact with it (pushing button, zoom, drag etc...) with Nokia Phone

    i try for 2 days already without any good result !!

    the webkit can be good but i need my application to work offline !! (that the point of making my application !! )

    i use this code to display my flash online: "but i need it offline"

    #include <QtGui>
    #include <QtWebKit>

    int main(int argc, char * argv[])
    {
    QApplication app(argc, argv);

    QWebView view;
    view.settings()->setAttribute(QWebSettings::PluginsEnabled, true);
    view.load(QUrl("http://www.xxxxxxxxx.com"));
    view.show();

    return app.exec();
    }



    so can i replace the view.load(QUrl("http://www.xxxxxxxxx.com")); by anything to make it work without internet ? with prefixe or anything ? i can't make that work ..

    i was thinking of make a html and embed my flash into it but how to call it offline ? any easier suggestion ? or anything else??


    if you need any more details or if my post wasn't clear enought please let me know

    thank you very much for your help

    Max

    ps: sorry for my mistakes in English !!





    edit : if i put pixmap in my UI file and i add my embed page like that

    -file:///D:/bts/flash.html

    it show me adobe player flash update ?!!
    Last edited by wreckx; 19th November 2010 at 12:20. Reason: updated contents

  2. The following user says thank you to wreckx for this useful post:

    zeFree (11th April 2012)

Similar Threads

  1. Help: Play Flash media in Qt GUI application
    By RogerShen in forum Qt Programming
    Replies: 1
    Last Post: 5th March 2010, 10:59
  2. Using Qt4 with Flash
    By Strongoloid in forum Newbie
    Replies: 0
    Last Post: 10th November 2009, 21:36
  3. Qt vs Flash
    By Scorp1us in forum Newbie
    Replies: 10
    Last Post: 16th May 2007, 00:26
  4. Replies: 10
    Last Post: 4th December 2006, 05:38
  5. Flash with QT
    By Kapil in forum Qt Programming
    Replies: 1
    Last Post: 6th March 2006, 09:14

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.