×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Mar 2011
    Posts
    7

    Can't compile QT project in Carbide C++

    Hi All. I try to compile QT project(wrote on QT 4.2) in Carbide C++ 2.7.0(Symbian^3 0.9 SDK). But it show me this error:

    the file 'e32svr.h' cannot be opened included from: C:\Nokia\devices\Nokia_Symbian3_SDK_v0.9\epoc32\include\bautils.h:20

    In .mmp file "SYSTEMINCLUDE /epoc32/include/platform/mw" exist(where file e32svr.h is located).
    Can someone help me?

    P.S. Sorry for my english.

  2. #2
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: Can't compile QT project in Carbide C++

    is e32svr.h in the same dir as bautils.h?? modify the path for e32svr.h in bautils.h like #include "platform/mw/e32svr.h"

    or try to add the include path for platform/mw in your pro file.
    Use [URL="http://qt.nokia.com/products/qt-quick/"]Qt-Quick[/URL] to make your application UI more attractive.

    [URL="http://store.ovi.com/content/271896"]http://store.ovi.com/content/271896[/URL] | [URL="http://store.ovi.com/content/276199"]http://store.ovi.com/content/276199[/URL] |[URL="http://store.ovi.com/content/276202"] http://store.ovi.com/content/276202[/URL] | [URL="http://store.ovi.com/content/280827"]http://store.ovi.com/content/280827[/URL]

  3. #3
    Registered User
    Join Date
    Mar 2011
    Posts
    7

    Re: Can't compile QT project in Carbide C++

    They in the same dir.

    I make a mistake in my post. "SYSTEMINCLUDE /epoc32/include/platform/mw" file e32svr.h(bautils.h also) is in "/epoc32/include/platform". In .mmp file this path exist to.

  4. #4
    Registered User
    Join Date
    Mar 2011
    Posts
    7

    Re: Can't compile QT project in Carbide C++

    I include .mmp file. It derived from qt .pro file. So... maybe there some problem with 'qt' include. I don't work with qt before.
    Code:
    // ==============================================================================
    // Generated by qmake (2.01a) (Qt 4.6.3) on: 2011-04-26T11:35:10
    // This file is generated by qmake and should not be modified by the
    // user.
    //  Name        : DataWatch.mmp
    // ==============================================================================
    
    TARGET		DataWatch.exe
    TARGETTYPE		EXE
    
    UID		0x100039CE 0x2003D659
    SECUREID		0x2003D659
    
    EPOCSTACKSIZE		0x14000
    EPOCHEAPSIZE		0x020000 0x800000
    
    SOURCEPATH			. 
    LANG SC 
    START RESOURCE		DataWatch.rss
    HEADER
    TARGETPATH			/resource/apps
    END
    
    SOURCEPATH			.
    START RESOURCE		DataWatch_reg.rss
    TARGETPATH		/private/10003a3f/import/apps
    END
    
    
    // Qt Macros
    MACRO		UNICODE
    MACRO		QT_KEYPAD_NAVIGATION
    MACRO		QT_SOFTKEYS_ENABLED
    MACRO		QT_USE_MATH_H_FLOATS
    MACRO		QT_SVG_LIB
    MACRO		QT_XML_LIB
    MACRO		QT_GUI_LIB
    MACRO		QT_CORE_LIB
    
    SYSTEMINCLUDE		/epoc32/include/mw/QtCore
    SYSTEMINCLUDE		/epoc32/include/mw/QtGui
    SYSTEMINCLUDE		/epoc32/include/mw/QtXml
    SYSTEMINCLUDE		/epoc32/include/mw/QtSvg
    SYSTEMINCLUDE		/epoc32/include/mw
    SYSTEMINCLUDE		../Nokia/devices/Nokia_Symbian3_SDK_v0.9/sf/mw/qt/mkspecs/common/symbian
    SYSTEMINCLUDE		../Nokia/devices/Nokia_Symbian3_SDK_v0.9/sf/mw/qt/mkspecs/common/symbian/tmp
    SYSTEMINCLUDE		/epoc32/include
    SYSTEMINCLUDE		/epoc32/include/stdapis
    SYSTEMINCLUDE		/epoc32/include/stdapis/sys
    SYSTEMINCLUDE		/epoc32/include/stdapis/stlportv5
    SYSTEMINCLUDE		/epoc32/include/platform/mw
    SYSTEMINCLUDE		/epoc32/include/platform
    SYSTEMINCLUDE		/epoc32/include/platform/loc
    SYSTEMINCLUDE		/epoc32/include/platform/mw/loc
    SYSTEMINCLUDE		/epoc32/include/platform/loc/sc
    SYSTEMINCLUDE		/epoc32/include/platform/mw/loc/sc
    SYSTEMINCLUDE		.
    SYSTEMINCLUDE		tmp
    SYSTEMINCLUDE		s60autostart
    SYSTEMINCLUDE		s60autostart/tmp
    
    SOURCEPATH 	.
    SOURCE		DWSettings.cpp
    SOURCE		DataConnections.cpp
    SOURCE		main.cpp
    SOURCE		DataWatch.cpp
    SOURCE		moc_DataWatch.cpp
    SOURCE		qrc_DWRes.cpp
    
    SOURCEPATH 	s60autostart
    SOURCE		s60autostart.cpp
    
    
    LIBRARY		connmon.lib
    LIBRARY		apgrfx.lib
    LIBRARY		apparc.lib
    LIBRARY		aknskins.lib
    LIBRARY		aknicon.lib
    LIBRARY		avkon.lib
    LIBRARY		cone.lib
    LIBRARY		eikcore.lib
    LIBRARY		ws32.lib
    LIBRARY		efsrv.lib
    LIBRARY		bafl.lib
    LIBRARY		libstdcppv5.lib
    LIBRARY		QtSvg.lib
    LIBRARY		QtXml.lib
    LIBRARY		QtGui.lib
    LIBRARY		QtCore.lib
    LIBRARY		libc.lib
    LIBRARY		libm.lib
    LIBRARY		euser.lib
    LIBRARY		libdl.lib
    LIBRARY		mediaclientaudio.lib
    LIBRARY		eikcoctl.lib
    LIBRARY		eiksrv.lib
    LIBRARY		charconv.lib
    LIBRARY		hal.lib
    LIBRARY		gdi.lib
    STATICLIBRARY	qtmain.lib
    
    CAPABILITY		NetworkControl NetworkServices 
    
    OPTION CW -wchar_t on
    OPTION ARMCC --visibility_inlines_hidden
    #if defined(ARMCC_4_0)
    OPTION ARMCC --import_all_vtbl
    #endif
    OPTION GCCE -fvisibility-inlines-hidden
    
    VERSION 10.0
    
    ARMFPU softvfp
    
    PAGED
    
    BYTEPAIRCOMPRESSTARGET
    
    OPTION_REPLACE ARMCC --export_all_vtbl -D__QT_NOEFFECTMACRO_DONOTUSE
    
    USERINCLUDE .
    
    SOURCEPATH ./s60autostart/s60launcher
    START RESOURCE startuplist.rss
     TARGETPATH /private/101f875a
    END
    
    STDCPP
    
    USERINCLUDE .

Similar Threads

  1. How to compile QML/QT Quick project in QT Creator?
    By useryy in forum [Archived] Qt SDKs and Tools
    Replies: 2
    Last Post: 2011-03-15, 05:49
  2. I can't build project in Carbide.c++ v1.3
    By lovemydoog in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 3
    Last Post: 2008-05-10, 08:14
  3. Cannot compile S60 Project from wizard in Carbide 1.2
    By dzialekt in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2007-05-02, 15:08
  4. Can't create a new project in Eclipse + Carbide.j
    By wreckly in forum Mobile Java Tools & SDKs
    Replies: 3
    Last Post: 2007-03-12, 14:13

Posting Permissions

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