×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    May 2009
    Posts
    146

    Qt Creator problems compiling for emulator

    Hi!

    I have problems compiling and running my project with Qt Creator and the Symbian Emulator. I was using this guide to install Qt and all other things: http://swik.net/Trolltech/Trolltech+...+Symbian/dde1x

    Also it takes a VERY long time to build 5 minutes or so, this line takes almost forever to run:
    perl -S makmake.pl -D \MyTestApp\MyTestApp\MyTestApp_0XE58CD2B0 WINSCW

    Thanks in advance!

    This is the Compile Output:
    Code:
    Running build steps for project MyTestApp...
    Starting: c:/qt/4.6.2/bin/qmake.exe C:/MyTestApp/MyTestApp/MyTestApp.pro -spec symbian-abld -r 
    Exited with code 0.
    Starting: C:/S60/devices/Nokia_N97_SDK_v1.0/epoc32/tools/make.exe -w 
    C:\S60\devices\Nokia_N97_SDK_v1.0\epoc32\tools\make.exe: Entering directory `C:/MyTestApp/MyTestApp'
    bldmake bldfiles
    ABLD.BAT build winscw udeb
    make -r -f "\S60\devices\Nokia_N97_SDK_v1.0\EPOC32\BUILD\MyTestApp\MyTestApp\EXPORT.make" EXPORT VERBOSE=-s
    make[1]: Entering directory `C:/MyTestApp/MyTestApp'
    Nothing to do
    make[1]: Leaving directory `C:/MyTestApp/MyTestApp'
    make -r -f "\S60\devices\Nokia_N97_SDK_v1.0\EPOC32\BUILD\MyTestApp\MyTestApp\WINSCW.make" MAKEFILE VERBOSE=-s
    make[1]: Entering directory `C:/MyTestApp/MyTestApp'
    make -s -C \MyTestApp\MyTestApp -f "MAKEFILE_0XE58CD2B0.MK" TO_ROOT=..\.. EPOCBLD=\S60\devices\Nokia_N97_SDK_v1.0\EPOC32\BUILD\MAKEFILE_0XE58CD2B0\WINSCW TO_BLDINF=..\..\MyTestApp\MyTestApp PLATFORM=WINSCW MAKMAKE
    perl -S makmake.pl -D \MyTestApp\MyTestApp\MyTestApp_0XE58CD2B0 WINSCW
    make[1]: Leaving directory `C:/MyTestApp/MyTestApp'
    make -r -f "\S60\devices\Nokia_N97_SDK_v1.0\EPOC32\BUILD\MyTestApp\MyTestApp\WINSCW.make" LIBRARY VERBOSE=-s
    make[1]: Entering directory `C:/MyTestApp/MyTestApp'
    make -s -C \MyTestApp\MyTestApp -f "MAKEFILE_0XE58CD2B0.MK" TO_ROOT=..\.. EPOCBLD=\S60\devices\Nokia_N97_SDK_v1.0\EPOC32\BUILD\MAKEFILE_0XE58CD2B0\WINSCW TO_BLDINF=..\..\MyTestApp\MyTestApp PLATFORM=WINSCW LIB
    make -s -r -f "\S60\devices\Nokia_N97_SDK_v1.0\EPOC32\BUILD\MyTestApp\MyTestApp\MyTestApp_0XE58CD2B0\WINSCW\MyTestApp_0XE58CD2B0.WINSCW" LIBRARY
    \S60\devices\Nokia_N97_SDK_v1.0\EPOC32\BUILD\MyTestApp\MyTestApp\MyTestApp_0XE58CD2B0\WINSCW\MyTestApp_0XE58CD2B0.WINSCW:19551: warning: overriding commands for target `\S60\devices\Nokia_N97_SDK_v1.0\EPOC32\BUILD\MyTestApp\MyTestApp\MyTestApp_0XE58CD2B0\WINSCW\udeb\main.o'
    \S60\devices\Nokia_N97_SDK_v1.0\EPOC32\BUILD\MyTestApp\MyTestApp\MyTestApp_0XE58CD2B0\WINSCW\MyTestApp_0XE58CD2B0.WINSCW:1879: warning: ignoring old commands for target `\S60\devices\Nokia_N97_SDK_v1.0\EPOC32\BUILD\MyTestApp\MyTestApp\MyTestApp_0XE58CD2B0\WINSCW\udeb\main.o'
    \S60\devices\Nokia_N97_SDK_v1.0\EPOC32\BUILD\MyTestApp\MyTestApp\MyTestApp_0XE58CD2B0\WINSCW\MyTestApp_0XE58CD2B0.WINSCW:19555: warning: overriding commands for target `LISTINGUDEBmain'
    \S60\devices\Nokia_N97_SDK_v1.0\EPOC32\BUILD\MyTestApp\MyTestApp\MyTestApp_0XE58CD2B0\WINSCW\MyTestApp_0XE58CD2B0.WINSCW:1883: warning: ignoring old commands for target `LISTINGUDEBmain'
    \S60\devices\Nokia_N97_SDK_v1.0\EPOC32\BUILD\MyTestApp\MyTestApp\MyTestApp_0XE58CD2B0\WINSCW\MyTestApp_0XE58CD2B0.WINSCW:19558: warning: overriding commands for target `\S60\devices\Nokia_N97_SDK_v1.0\EPOC32\BUILD\MyTestApp\MyTestApp\MyTestApp_0XE58CD2B0\WINSCW\urel\main.o'
    \S60\devices\Nokia_N97_SDK_v1.0\EPOC32\BUILD\MyTestApp\MyTestApp\MyTestApp_0XE58CD2B0\WINSCW\MyTestApp_0XE58CD2B0.WINSCW:1886: warning: ignoring old commands for target `\S60\devices\Nokia_N97_SDK_v1.0\EPOC32\BUILD\MyTestApp\MyTestApp\MyTestApp_0XE58CD2B0\WINSCW\urel\main.o'
    \S60\devices\Nokia_N97_SDK_v1.0\EPOC32\BUILD\MyTestApp\MyTestApp\MyTestApp_0XE58CD2B0\WINSCW\MyTestApp_0XE58CD2B0.WINSCW:19562: warning: overriding commands for target `LISTINGURELmain'
    \S60\devices\Nokia_N97_SDK_v1.0\EPOC32\BUILD\MyTestApp\MyTestApp\MyTestApp_0XE58CD2B0\WINSCW\MyTestApp_0XE58CD2B0.WINSCW:1890: warning: ignoring old commands for target `LISTINGURELmain'
    make[1]: Leaving directory `C:/MyTestApp/MyTestApp'
    make -r -f "\S60\devices\Nokia_N97_SDK_v1.0\EPOC32\BUILD\MyTestApp\MyTestApp\WINSCW.make" RESOURCE CFG=UDEB VERBOSE=-s
    make[1]: Entering directory `C:/MyTestApp/MyTestApp'
    make -s -C \MyTestApp\MyTestApp -f "MAKEFILE_0XE58CD2B0.MK" TO_ROOT=..\.. EPOCBLD=\S60\devices\Nokia_N97_SDK_v1.0\EPOC32\BUILD\MAKEFILE_0XE58CD2B0\WINSCW TO_BLDINF=..\..\MyTestApp\MyTestApp PLATFORM=WINSCW CFG=UDEB RESOURCE
    make -s -r -f "\S60\devices\Nokia_N97_SDK_v1.0\EPOC32\BUILD\MyTestApp\MyTestApp\MyTestApp_0XE58CD2B0\WINSCW\MyTestApp_0XE58CD2B0.WINSCW" RESOURCEUDEB
    \S60\devices\Nokia_N97_SDK_v1.0\EPOC32\BUILD\MyTestApp\MyTestApp\MyTestApp_0XE58CD2B0\WINSCW\MyTestApp_0XE58CD2B0.WINSCW:19551: warning: overriding commands for target `\S60\devices\Nokia_N97_SDK_v1.0\EPOC32\BUILD\MyTestApp\MyTestApp\MyTestApp_0XE58CD2B0\WINSCW\udeb\main.o'
    \S60\devices\Nokia_N97_SDK_v1.0\EPOC32\BUILD\MyTestApp\MyTestApp\MyTestApp_0XE58CD2B0\WINSCW\MyTestApp_0XE58CD2B0.WINSCW:1879: warning: ignoring old commands for target `\S60\devices\Nokia_N97_SDK_v1.0\EPOC32\BUILD\MyTestApp\MyTestApp\MyTestApp_0XE58CD2B0\WINSCW\udeb\main.o'
    \S60\devices\Nokia_N97_SDK_v1.0\EPOC32\BUILD\MyTestApp\MyTestApp\MyTestApp_0XE58CD2B0\WINSCW\MyTestApp_0XE58CD2B0.WINSCW:19555: warning: overriding commands for target `LISTINGUDEBmain'
    \S60\devices\Nokia_N97_SDK_v1.0\EPOC32\BUILD\MyTestApp\MyTestApp\MyTestApp_0XE58CD2B0\WINSCW\MyTestApp_0XE58CD2B0.WINSCW:1883: warning: ignoring old commands for target `LISTINGUDEBmain'
    \S60\devices\Nokia_N97_SDK_v1.0\EPOC32\BUILD\MyTestApp\MyTestApp\MyTestApp_0XE58CD2B0\WINSCW\MyTestApp_0XE58CD2B0.WINSCW:19558: warning: overriding commands for target `\S60\devices\Nokia_N97_SDK_v1.0\EPOC32\BUILD\MyTestApp\MyTestApp\MyTestApp_0XE58CD2B0\WINSCW\urel\main.o'
    \S60\devices\Nokia_N97_SDK_v1.0\EPOC32\BUILD\MyTestApp\MyTestApp\MyTestApp_0XE58CD2B0\WINSCW\MyTestApp_0XE58CD2B0.WINSCW:1886: warning: ignoring old commands for target `\S60\devices\Nokia_N97_SDK_v1.0\EPOC32\BUILD\MyTestApp\MyTestApp\MyTestApp_0XE58CD2B0\WINSCW\urel\main.o'
    \S60\devices\Nokia_N97_SDK_v1.0\EPOC32\BUILD\MyTestApp\MyTestApp\MyTestApp_0XE58CD2B0\WINSCW\MyTestApp_0XE58CD2B0.WINSCW:19562: warning: overriding commands for target `LISTINGURELmain'
    \S60\devices\Nokia_N97_SDK_v1.0\EPOC32\BUILD\MyTestApp\MyTestApp\MyTestApp_0XE58CD2B0\WINSCW\MyTestApp_0XE58CD2B0.WINSCW:1890: warning: ignoring old commands for target `LISTINGURELmain'
    
    
    make[1]: Leaving directory `C:/MyTestApp/MyTestApp'
    make -r -f "\S60\devices\Nokia_N97_SDK_v1.0\EPOC32\BUILD\MyTestApp\MyTestApp\WINSCW.make" TARGET CFG=UDEB VERBOSE=-s
    make[1]: Entering directory `C:/MyTestApp/MyTestApp'
    make -s -C \MyTestApp\MyTestApp -f "MAKEFILE_0XE58CD2B0.MK" TO_ROOT=..\.. EPOCBLD=\S60\devices\Nokia_N97_SDK_v1.0\EPOC32\BUILD\MAKEFILE_0XE58CD2B0\WINSCW TO_BLDINF=..\..\MyTestApp\MyTestApp PLATFORM=WINSCW CFG=UDEB BLD
    make -s -r -f "\S60\devices\Nokia_N97_SDK_v1.0\EPOC32\BUILD\MyTestApp\MyTestApp\MyTestApp_0XE58CD2B0\WINSCW\MyTestApp_0XE58CD2B0.WINSCW" UDEB
    \S60\devices\Nokia_N97_SDK_v1.0\EPOC32\BUILD\MyTestApp\MyTestApp\MyTestApp_0XE58CD2B0\WINSCW\MyTestApp_0XE58CD2B0.WINSCW:19551: warning: overriding commands for target `\S60\devices\Nokia_N97_SDK_v1.0\EPOC32\BUILD\MyTestApp\MyTestApp\MyTestApp_0XE58CD2B0\WINSCW\udeb\main.o'
    .
    .
    .
    .
    \S60\devices\Nokia_N97_SDK_v1.0\EPOC32\BUILD\MyTestApp\MyTestApp\MyTestApp_0XE58CD2B0\WINSCW\MyTestApp_0XE58CD2B0.WINSCW:1890: warning: ignoring old commands for target `LISTINGURELmain'
    mwldsym2.exe: Multiply defined section: _main in
    mwldsym2.exe: files main.o, main.o
    mwldsym2.exe: warning: Multiply defined symbol: ___get_MSL_init_count in
    mwldsym2.exe: warning: files uc_cwhelp.obj (EEXE.LIB), startup.win32.c.obj (msl_all_static_mse_symbian_d.lib),
    mwldsym2.exe: warning: keeping definition in startup.win32.c.obj
    mwldsym2.exe: warning: Multiply defined symbol: __CleanUpMSL in
    mwldsym2.exe: warning: files uc_cwhelp.obj (EEXE.LIB), startup.win32.c.obj (msl_all_static_mse_symbian_d.lib),
    mwldsym2.exe: warning: keeping definition in startup.win32.c.obj
    make[1]: Leaving directory `C:/MyTestApp/MyTestApp'
    make -r -f "\S60\devices\Nokia_N97_SDK_v1.0\EPOC32\BUILD\MyTestApp\MyTestApp\WINSCW.make" FINAL CFG=UDEB VERBOSE=-s
    make[1]: Entering directory `C:/MyTestApp/MyTestApp'
    make -s -C \MyTestApp\MyTestApp -f "MAKEFILE_0XE58CD2B0.MK" TO_ROOT=..\.. EPOCBLD=\S60\devices\Nokia_N97_SDK_v1.0\EPOC32\BUILD\MAKEFILE_0XE58CD2B0\WINSCW TO_BLDINF=..\..\MyTestApp\MyTestApp PLATFORM=WINSCW CFG=UDEB FINAL
    
    Errors caused tool to abort.
    make[2]: *** [\S60\devices\Nokia_N97_SDK_v1.0\epoc32\release\winscw\udeb\MyTestApp.exe] Error 1
    make[1]: *** [TARGETMyTestApp_0XE58CD2B0] Error 2
    Deploying changed files...
    0 File(s) copied
    make[1]: Leaving directory `C:/MyTestApp/MyTestApp'
    C:\S60\devices\Nokia_N97_SDK_v1.0\epoc32\tools\make.exe: Leaving directory `C:/MyTestApp/MyTestApp'
    Exited with code 0.

  2. #2
    Regular Contributor
    Join Date
    May 2009
    Posts
    146

    Re: Qt Creator problems compiling for emulator

    Anyone got an idea of what can be wrong? It works perfect to compile if I create a new "dummy" project but it's my old project I need to compile and that is not working. This project I used in Carbide before. Can that be the problem?

    Do you recommend me to use Qt Creator when building for Symbian or should I stick to Carbide? Thanks!

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

    Re: Qt Creator problems compiling for emulator

    There are some differences needed in the pro file for Creator verses Carbide, but I don't know that they're documented anywhere. I know that Creator has trouble parsing standard LIBS strings, among other things.

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. kinetic scrolling
    By stalep in forum Nokia N9
    Replies: 10
    Last Post: 2009-12-08, 12:41
  3. Senior QT Client Developer (Dublin, Ireland)
    By marynyc in forum News and Announcements
    Replies: 0
    Last Post: 2009-06-02, 18:24

Posting Permissions

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