×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Mar 2010
    Posts
    61

    QApp vs. QCoreApp + Symbian active object (can any Nokia/Qt guys take a look?)

    I have this issue where an active object from a Symbian library doesn’t call my handler function if I use QCoreApplication but it does when I use QApplication. The problem is that I want to build a console app, I don’t want a UI.

    I know that some people from the Qt team read these forums:

    * is there any difference between QApplication and QCoreApplication when it comes to setting up specific Symbian stuff suck as the trap handler, active scheduler and so on?
    * can I do what QApplication does extra by hand?
    * The app is a daemon/service. If I must use QApplication, is there a way to hide the app from the task manager? I get this by default with Qt console apps.

  2. #2
    Nokia Developer Champion
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: QApp vs. QCoreApp + Symbian active object (can any Nokia/Qt guys take a look?)


  3. #3
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Posts
    4,326

    Re: QApp vs. QCoreApp + Symbian active object (can any Nokia/Qt guys take a look?)

    Providing minimal sample application will help to get attention.

  4. #4
    Registered User
    Join Date
    Mar 2010
    Posts
    61

    Re: QApp vs. QCoreApp + Symbian active object (can any Nokia/Qt guys take a look?)

    I can't provide code, because I am using a private library that I can not publish.

    After more debugging it seems that this is not necessarily related to QCore vs QApp Symbian setup. The library won't talk to the app when the app is not in the foreground period. A console app can't be in the foreground by definition, so I am looking for alternatives to using the library now. Thanks for your replies.

Similar Threads

  1. Active Object (CNwSignalCheck) into an Active Object (CPeriodic): is it possible?
    By KB24 in forum Symbian Networking & Messaging (Closed)
    Replies: 4
    Last Post: 2010-09-20, 16:57
  2. Replies: 11
    Last Post: 2009-03-05, 19:53
  3. Replies: 9
    Last Post: 2009-01-27, 13:55
  4. active object call inside another active object
    By maina1976 in forum Symbian C++
    Replies: 4
    Last Post: 2008-08-25, 13:05
  5. Replies: 4
    Last Post: 2007-11-26, 13:41

Posting Permissions

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