Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Feb 2008
    Location
    India, Nashik
    Posts
    816

    cant compile for symbian 3 target

    hi

    I am facing a problem (may be something silly), i am testing QtSDK 1.1.3 installation, and have created a simple Qt widget project as a mobile application, i have selectd symbian 3 as a target when i try to build project i get following errors in compile window

    Code:
    sbs -c arm.v5.udeb.gcce4_4_1
     qt-tools   : C:\Users\vishal\mobileqttest\moc\moc_mainwindow.cpp  	[arm.v5.udeb.gcce4_4_1]
     mifconv    : BITMAP  	[arm.v5.udeb.gcce4_4_1]
     compile    : moc\moc_mainwindow.cpp  	[arm.v5.udeb.gcce4_4_1]
       In file included from C:/Users/vishal/mobileqttest/moc/moc_mainwindow.cpp:10:
       C:/Users/vishal/mobileqttest/moc/../mainwindow.h:4: fatal error: QtGui/QMainWindow: No such file or directory
       compilation terminated.
       
     compile    : mainwindow.cpp  	[arm.v5.udeb.gcce4_4_1]
       In file included from C:/Users/vishal/mobileqttest/mainwindow.cpp:1:
       C:/Users/vishal/mobileqttest/mainwindow.h:4: fatal error: QtGui/QMainWindow: No such file or directory
       compilation terminated.
       
     compile    : main.cpp  	[arm.v5.udeb.gcce4_4_1]
       In file included from C:/Users/vishal/mobileqttest/main.cpp:1:
       C:/Users/vishal/mobileqttest/mainwindow.h:4: fatal error: QtGui/QMainWindow: No such file or directory
       compilation terminated.
       
    
    sbs : warnings: 0
    sbs : errors: 7
    
    built 'arm.v5.udeb.gcce4_4_1'
    
    Run time 3 seconds
    
    sbs: build log in f:\QtSDK\Symbian\SDKs\Symbian3Qt473\epoc32\build\Makefile.2011-09-18-13-05-52.88-1932.log
    F:\QtSDK\Symbian\SDKs\Symbian3Qt473\epoc32\tools\make.exe: Leaving directory `C:/Users/vishal/mobileqttest'
    
     FAILED compile  for arm.v5.udeb.gcce4_4_1:  moc\moc_mainwindow.cpp
      mmp: mobileqttest_exe.mmp
    
     FAILED compile  for arm.v5.udeb.gcce4_4_1:  mainwindow.cpp
      mmp: mobileqttest_exe.mmp
    
     FAILED compile  for arm.v5.udeb.gcce4_4_1:  main.cpp
      mmp: mobileqttest_exe.mmp
        mingw32-make[1]: *** [f:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/build/mobileqttest/c_222aea07113081e2/mobileqttest_exe/armv5/udeb/moc_mainwindow.o] Error 1
        mingw32-make[1]: *** Waiting for unfinished jobs....
        mingw32-make[1]: *** [f:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/build/mobileqttest/c_222aea07113081e2/mobileqttest_exe/armv5/udeb/mainwindow.o] Error 1
        mingw32-make[1]: *** [f:/QtSDK/Symbian/SDKs/Symbian3Qt473/epoc32/build/mobileqttest/c_222aea07113081e2/mobileqttest_exe/armv5/udeb/main.o] Error 1
    sbs: error: The make-engine exited with errors.
    F:\QtSDK\Symbian\SDKs\Symbian3Qt473\epoc32\tools\make.exe: *** [debug-gcce] Error 1
    The process "F:\QtSDK\Symbian\SDKs\Symbian3Qt473\epoc32\tools\make.exe" exited with code 2.
    Error while building project mobileqttest (target: Symbian Device)
    When executing build step 'Make'
    Can anybody please suggest a solution ?

  2. #2
    Super Contributor
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,332

    Re: cant compile for symbian 3 target

    (1)Your device should be connected from project starting to the RUN step.

    (2) The Qt and the project creation both must be in the same directory. I think you are using two directory F and C. Use only F.

    Best regards,

  3. #3
    Registered User
    Join Date
    Feb 2008
    Location
    India, Nashik
    Posts
    816

    Re: cant compile for symbian 3 target

    you mean project drive ? this is a strange requirement, this is where Nokia needs improvement ... sigh

    Thanks anyways let me check this

  4. #4
    Registered User
    Join Date
    Feb 2008
    Location
    India, Nashik
    Posts
    816

    Re: cant compile for symbian 3 target

    i think earlier i had both things on one drive, this time since it took more than 10GB i prefered to instal it on different drive and landed up errors .... unexpected.. lol
    anyways thanks for solution.

    -Vishal

  5. #5
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: cant compile for symbian 3 target

    These are limitations inherited from the good old Symbian build system ... Note that with modern version of Windows you can map directories from a drive as subdirectories on other drives , therefor the SDK bits can be stored on any drive but still made ot appear in the default location.
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  6. #6
    Super Contributor
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,332

    Re: cant compile for symbian 3 target

    Quote Originally Posted by vdharankar View Post
    i think earlier i had both things on one drive, this time since it took more than 10GB i prefered to instal it on different drive and landed up errors .... unexpected.. lol
    anyways thanks for solution.

    -Vishal
    You welcome vishal,, I had also face this problem,

    regards,

Similar Threads

  1. GCCE build target doesn't compile
    By islamfunny in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2009-02-12, 07:18
  2. issue to compile for target
    By Nimes in forum Symbian
    Replies: 14
    Last Post: 2009-01-27, 02:38
  3. How can I compile for WINC target using carbide.c++?
    By cassioli in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 7
    Last Post: 2007-09-02, 17:48
  4. Replies: 4
    Last Post: 2006-01-18, 07:42
  5. cant compile for target device
    By kustom in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2004-01-02, 13:17

Posting Permissions

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