Results 1 to 2 of 2

Thread: Regarding QS60MainApplication and other classes

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2010
    Location
    Kawasaki, Japan
    Posts
    13
    Qt products
    Qt/Embedded Qt Jambi
    Platforms
    Symbian S60

    Default Regarding QS60MainApplication and other classes

    Hi All,

    I was going through the Qt code base and found the classes Qs60MainXXX classes for application, document and appUI under the gui\S60Framework folder.
    When I read the class description it tells these classes can be used to port the older S60 Application to Qt Applications and through this class the Qt framework would be made available.

    First I would like to know if it is just enough to change my application as CMyApplication :: public Qs60MainApplication and the document and appUI also. With this will I be able to directly use QWidget or Qt components in my S60 Application - here I think I need not create a QApplication and call qApp.exec().

    If this is not the case, then there will be two applications that would be started - the S60 Application and also QApplication. This would mean application launching will be more time consuming and also there will be two event handling loops.
    Also one more thing is that when the qApp.exec() is called the application will wait for events and this may become a infinite loop, so where should teh QApplication be really started.

    Please suggest/teach on this.

    Regards
    Girish

  2. #2
    Join Date
    Mar 2010
    Location
    Kawasaki, Japan
    Posts
    13
    Qt products
    Qt/Embedded Qt Jambi
    Platforms
    Symbian S60

    Default Re: Regarding QS60MainApplication and other classes

    For those who are working on Qt for Symbian, I observed that when we create a QApplicatin - internally there is a S60 environment created.
    That is a S60 application, document and AppUi will be created. The classes Qs60MainXXX are being used for this purpose.

Similar Threads

  1. QT WMI Classes
    By justatiq in forum Qt Programming
    Replies: 31
    Last Post: 10th April 2011, 15:44
  2. QSkinWindows Classes
    By kernel_panic in forum Qt-based Software
    Replies: 45
    Last Post: 20th April 2010, 12:35
  3. Design classes in OOP?
    By vql in forum General Programming
    Replies: 5
    Last Post: 25th October 2007, 14:18
  4. fax classes in qt
    By dyams in forum Qt Programming
    Replies: 5
    Last Post: 7th September 2007, 09:14

Tags for this Thread

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.