×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Feb 2010
    Posts
    21

    can not find epoc32's file

    I open a pro which was created a month ago. But it can't find the headers now.
    It worked fine a month ago. I don't know what I've change during this month.

    LIBS += -lcone -leikcore -lavkon
    #include <eikenv.h>
    #include <eikappui.h>
    #include <aknenv.h>
    #include <aknappui.h>

    I add this now:
    LIBs += -L"D:\NokiaQtSDK\Symbian\SDK\epoc32\release\armv5\lib"
    INCLUDEPATH +="D:\NokiaQtSDK\Symbian\SDK\epoc32\include\
    don't work.

    I should use the full name now
    #include ":\NokiaQtSDK\Symbian\SDK\epoc32\include\eikenv.h"
    But in this way I should include all the headers in eikenv.h too

    Why? I don't want to reinstall QT.
    Thanks.

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: can not find epoc32's file

    For which target your are building

    Code:
    I add this now:
    LIBs += -L"D:\NokiaQtSDK\Symbian\SDK\epoc32\release\armv5\lib"
    INCLUDEPATH +="D:\NokiaQtSDK\Symbian\SDK\epoc32\include\
    don't work.
    you should not have these in your pro file

  3. #3
    Registered User
    Join Date
    Feb 2010
    Posts
    21

    Re: can not find epoc32's file

    But whether I add it or not,
    #include <eikenv.h>
    #include <eikappui.h>
    #include <aknenv.h>
    #include <aknappui.h>
    these can not be found.

  4. #4
    Super Contributor
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: can not find epoc32's file

    I suspect that something's mucked up about your build target.

  5. #5
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: can not find epoc32's file

    Quote Originally Posted by Taiga View Post
    But whether I add it or not,
    #include <eikenv.h>
    #include <eikappui.h>
    #include <aknenv.h>
    #include <aknappui.h>
    these can not be found.
    only thing you should make sure is when ever you want to put a platform specific APIs / headers those you should put inside platform macro .

    so in your case you should be doing some thing like
    Code:
    #ifdef Q_OS_SYMBIAN
    #include <eikenv.h>
    #include <eikappui.h>
    #include <aknenv.h>
    #include <aknappui.h>
    #else
    // not required.
    #endif

  6. #6
    Registered User
    Join Date
    Feb 2010
    Posts
    21

    Re: can not find epoc32's file

    It's strange. Thought the codes has yellow underline, still saying "no such file" when mouse hover. it can be compiled. It could't be compiled yesterday.

    to skumar_rao: yes, It has #ifdev all the time. It's the same as a month ago.
    Last edited by Taiga; 2011-04-12 at 06:49.

Similar Threads

  1. why I can not find QNetworkConfiguration?
    By chensu0526 in forum [Archived] Qt SDKs and Tools
    Replies: 10
    Last Post: 2010-11-05, 13:51
  2. Replies: 3
    Last Post: 2009-12-25, 14:46
  3. Can not find .pkg file
    By vdx in forum Symbian Tools & SDKs
    Replies: 6
    Last Post: 2009-10-14, 08:57
  4. Can not find object files.
    By RichardUK in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 8
    Last Post: 2008-05-06, 13:07

Posting Permissions

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