×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Nov 2009
    Posts
    5

    Smile How to include \epoc32\include in Carbide C/C++ Qt project?

    OS: windows vista
    Symbian SDK: S60-3rd-FP1
    Carbide C/C++: 2.0
    Qt for symbian: 4.6.0
    Open C/C++ has been installed.

    When I build a Qt proect in Carbide C/C++,the project doesn't contain the path: \epoc32\include, but \epoc32\include\oem.
    The oem file is form the zip file NCNList_fix.zip. If don't patch NCNList_fix.zip, the project doesn't contain \epoc32\include and \epoc32\include\oem.

    Build the project, and generates errors as below:
    1261319347661 appinfo.rh: No such file or directory HelloQt.rss HelloQt line 7 C/C++ Problem
    1261319353511 the file 'stddef.h' cannot be opened[K:\Nokia\Qt\4.6.0\src\corelib\global\qglobal.h] HelloQt line 45 C/C++ Problem
    1261319353542 (included from:[K:\Nokia\Qt\4.6.0\src\corelib\global\qglobal.h] HelloQt line 45 C/C++ Problem
    1261319353573 K:\Nokia\Qt\4.6.0\include\QtCore\qglobal.h:1[K:\Nokia\Qt\4.6.0\src\corelib\global\qglobal.h] HelloQt line 45 C/C++ Problem
    1261319353604 K:\Nokia\Qt\4.6.0\src\corelib\global\qnamespace.h:45[K:\Nokia\Qt\4.6.0\src\corelib\global\qglobal.h] HelloQt line 45 C/C++ Problem
    1261319353636 K:\Nokia\Qt\4.6.0\include\QtCore\qnamespace.h:1[K:\Nokia\Qt\4.6.0\src\corelib\global\qglobal.h] HelloQt line 45 C/C++ Problem
    1261319353667 K:\Nokia\Qt\4.6.0\src\corelib\kernel\qobjectdefs.h:45[K:\Nokia\Qt\4.6.0\src\corelib\global\qglobal.h] HelloQt line 45 C/C++ Problem

    How to deal with these errors? Thanks.

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

    Re: How to include \epoc32\include in Carbide C/C++ Qt project?

    you should install all Symabian tools and SDK with Qt on same drive.

  3. #3
    Registered User
    Join Date
    Nov 2009
    Posts
    5

    Re: How to include \epoc32\include in Carbide C/C++ Qt project?

    Thanks for your attention. Yes, I installed all things, such as ActivePerl, symbian SDK, Qt SDK for symbian, Carbide C/C++ on same drive, and the project is also on the same drive.
    If I create common symbian project, it can find \epoc32\include. But I create Qt for symbian project, it cannot finde \epoc32\include.
    Because SYTEMINCLUDE is error? if so, how to config it?
    Thanks a lot.

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

    Re: How to include \epoc32\include in Carbide C/C++ Qt project?

    Quote Originally Posted by kingwf View Post
    But I create Qt for symbian project, it cannot finde \epoc32\include.
    Because SYTEMINCLUDE is error? if so, how to config it?
    Thanks a lot.
    Sorry did not understand, can you explain some more.

  5. #5
    Regular Contributor
    Join Date
    Aug 2005
    Location
    India
    Posts
    399

    Re: How to include \epoc32\include in Carbide C/C++ Qt project?


  6. #6
    Regular Contributor
    Join Date
    Nov 2009
    Posts
    81

    Re: How to include \epoc32\include in Carbide C/C++ Qt project?

    In Carbide, right-mouse-button on the project and select "Properties". Open "Carbide.c++ Build Configurations" and the "Paths and Symbols" tab. If you don't see \epoc32\include in the include list, click on "Manage" at the top of the window and make sure that "Emulator Debug" and the appropriate "Phone" version are checked for the SDK you're using.

  7. #7
    Registered User
    Join Date
    Nov 2009
    Posts
    5

    Re: How to include \epoc32\include in Carbide C/C++ Qt project?

    It's OK. I install ADT_1.4 instead of Carbide C++ 2.0 and fix some errors with the document http://developer.symbian.org/wiki/in...shooting_Guide

    Another error: It happend ncnlist KERN-EXEC 3 error in emulator. I patch NCNList_fix.zip, but the error doesn't disappear. How to do? Thanks.

Similar Threads

  1. Qt for Symbian development resources
    By liuxg in forum [Archived] Qt General ( Qt技术)
    Replies: 55
    Last Post: 2011-01-26, 04:06
  2. Adding include paths to QT Creator project
    By guido666 in forum [Archived] Qt SDKs and Tools
    Replies: 5
    Last Post: 2009-10-05, 19:06
  3. Q&A posted from Carbide webinar
    By Mike Trujillo in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 0
    Last Post: 2009-01-12, 23:01
  4. Project layout in Carbide C/C++
    By fimikharj in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2008-08-29, 10:27

Posting Permissions

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