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.
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.
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.
Re: How to include \epoc32\include in Carbide C/C++ Qt project?
[QUOTE=kingwf;687252] 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.[/QUOTE] Sorry did not understand, can you explain some more.
Re: How to include \epoc32\include in Carbide C/C++ Qt project?
For step by step installation [url]http://developer.symbian.org/wiki/index.php/Qt_Quick_Start[/url]
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.
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 [URL="http://developer.symbian.org/wiki/index.php/Development_Environment_Troubleshooting_Guide"]http://developer.symbian.org/wiki/index.php/Development_Environment_Troubleshooting_Guide[/URL]
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.