×

Discussion Board

Results 1 to 5 of 5

Hybrid View

  1. #1
    Registered User
    Join Date
    Jun 2010
    Posts
    4

    How to Run Symbian based Qt application on the background

    Hi,
    I have developed an Qt application on Symbian. Currently its running in the emulator on the front.I want to run this Qt application on the background. Is there any easy way is available.I am new to nokia Qt world. Can anybody help me out. If anybody has any suggestion also welcome.

  2. #2
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: How to Run Symbian based Qt application on the background

    What is the purpose of running application in background? Did you consider console application for your purpose?

  3. #3
    Registered User
    Join Date
    Jun 2010
    Posts
    4

    Re: How to Run Symbian based Qt application on the background

    Hi Daniil,
    Thanks for your quick response. Its not a console application.
    What I mean is how can we send the running Qt application to the background!!! Is there any direct way available?
    Also how to show the background application again?

  4. #4
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    286

    Re: How to Run Symbian based Qt application on the background

    Quote Originally Posted by qtguy View Post
    Hi Daniil,
    Thanks for your quick response. Its not a console application.
    What I mean is how can we send the running Qt application to the background!!! Is there any direct way available?
    Also how to show the background application again?
    What Daniil meant was why don't you use QCoreApplication for background app instead of QApplication ?
    QWidget::hide() and QWidget::show() ? also check QWidget::raise() and QWidget::lower().
    I know you are propably looking for equivalent of Symbian's TApaTask::SendToBackground() and TApaTask::BringToForeground() and AFAIK there is no such thing. But since you are dealing with Symbian specific issue why not use TApaTask::SendToBackground() ?

    -Janne

  5. #5
    Regular Contributor
    Join Date
    May 2010
    Posts
    56

    Re: How to Run Symbian based Qt application on the background

    This is how I do it:

    Code:
    CCoeEnv::Static()->RootWin().SetOrdinalPosition( -1 );
    I don't think there's a pure Qt way of doing it.

Similar Threads

  1. Sending an application to background in symbian 9.1
    By kannabiran.krish in forum Symbian
    Replies: 19
    Last Post: 2010-03-24, 06:49
  2. Replies: 0
    Last Post: 2009-11-22, 19:03
  3. Run application in background
    By jackofall in forum Mobile Java General
    Replies: 7
    Last Post: 2009-05-12, 08:43
  4. making a gui application run continuously in the background
    By kadamsonal9_99 in forum Symbian User Interface
    Replies: 4
    Last Post: 2008-04-01, 05:22
  5. Replies: 0
    Last Post: 2007-07-04, 01:06

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×