Results 1 to 5 of 5

Thread: Multiple Qt Application

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

    Default Multiple Qt Application

    Hello,

    I am working on Qt for Symbian.
    I would like to know if we can create multiple Qt Application i.e more than one Qt Application is active at the same time.

    Is this possible in Qt. If so please give some inputs.

    I read that there should be only one instance of QApplication in an application - I understand this means one instance per thread which launches the Application. Please clarify...

    -Girish

  2. #2
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Multiple Qt Application

    An application is an application and basically an executable file.
    And like you can have more than one notepad.exe running same time, I dont see any hasle in having multiple applications running...unless low memory.

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

    Default Re: Multiple Qt Application

    Thank you for this pointer...
    Could you please elaborate the possible low memory situation here?

    In my case the first Qt application is able to be launched successfully, for the second application does not execute to the main also...does this mean the memory required for launching the second application (loading the Qt libraries and other setup) is not sufficient?

    In Qt would the required libraries be loaded for each application that needs it?

  4. #4
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Multiple Qt Application

    Can you run both application spearately, one at a time ?
    On the low memory end, mobile phones are not powerful computers. They have limited resources( processor, memory, etc). Hence if the resources are occupied by one application, the other may not be able to load / run.

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

    Default Re: Multiple Qt Application

    Yes, I am able to run the applications separately.
    Yes I understand about this constraint for the low memory and processing.

    I would like to know the impact of Qt application libraries on memory consumption -
    ex I am including QtGui, QtCore and some libraries in these two applications - I think that the libraries would be shared and the data portion only would be created for these two applications...is this not correct?

Similar Threads

  1. Replies: 8
    Last Post: 5th November 2012, 08:43
  2. Multiple timers in single Application
    By Qt Coder in forum Qt Programming
    Replies: 47
    Last Post: 5th October 2012, 13:23
  3. Replies: 3
    Last Post: 6th January 2010, 16:55
  4. Replies: 12
    Last Post: 29th February 2008, 13:35
  5. Replies: 0
    Last Post: 21st December 2006, 11:48

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.