Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How to use Nokia Analyze tool with Qt Nokia SDK



  • Hi.
    I developed a symbian s60 app by taking use of the Qt Nokia SDK. It seems like the app has a memory leak, and i have to figure it out.

    • I found Nokia Analyze tool, and installed it, but i can't get it to work. (Probably beause of problems with "devices".
    • I installed the Nokia_AnalyzeTool.sis on a device
    • I unpacked the files to c:\NokiaQtSDK\symbian\SDK\
    • I set the environmentvariable EPOCROOT=\NokiaQtSDK\Symbian\SDK\
    • I open locate my project folder where i can find the bld.inf
    • I run the command atool -tr abld build armv5 urel

    Error message:

    bq. AnalyzeTool : System call, bldmake bldfiles armv5
    Sorry, \epoc32\tools\bldmake.bat is not supported in this release. Please use a different
    device. Use 'devices' to view the available devices.
    AnalyzeTool : Copy \NokiaQtSDK\Symbian\SDK\epoc32\build\NokiaQtSDK\projects\ProjectName\ARMV5.MAKE to atool_temp\main.at
    AnalyzeTool : System call, abld export
    Sorry, \epoc32\tools\abld.pl is not supported in this release. Please use a different
    device. Use 'devices' to view the available devices.
    AnalyzeTool : System call, abld makefile armv5
    Sorry, \epoc32\tools\abld.pl is not supported in this release. Please use a different
    device. Use 'devices' to view the available devices.
    AnalyzeTool : makefile \NokiaQtSDK\Symbian\SDK\epoc32\build\NokiaQtSDK\projects\ProjectName\ARMV5.MAKE opened.
    AnalyzeTool : found mmp file: c:\nokiaqtsdk\projects\ProjectName\ProjectName_0xe3aa5d43.mmp
    AnalyzeTool : Error, can not open file: \NokiaQtSDK\Symbian\SDK\EPOC32\BUILD\NokiaQtSDK\projects\ProjectName\PROJECTNAME_0XE3AA5D43\ARMV5\PROJECTNAME_0XE3AA5D43.ARMV5
    AnalyzeTool : System call, abld reallyclean armv5 urel
    Sorry, \epoc32\tools\abld.pl is not supported in this release. Please use a different
    device. Use 'devices' to view the available devices.
    AnalyzeTool : System call, abld build -debug armv5 urel
    Sorry, \epoc32\tools\abld.pl is not supported in this release. Please use a different
    device. Use 'devices' to view the available devices.
    AnalyzeTool : System call, abld listing armv5 urel
    Sorry, \epoc32\tools\abld.pl is not supported in this release. Please use a different
    device. Use 'devices' to view the available devices.
    AnalyzeTool : Delete directory C:\NokiaQtSDK\projects\ProjectName\atool_temp\static_lsts
    AnalyzeTool : Directory C:\NokiaQtSDK\projects\ProjectName\atool_temp\static_lsts\ created
    AnalyzeTool
    Build Summary
    Build type: urel
    Build platform: armv5
    Data gathering mode: output to trace
    Allocation call stack size: 40
    Free call stack size: 0
    Deferred free: feature disabled
    Heap corruption check (guard blocks): feature disabled

    ok, so this tells me that i need to choose another device.
    So i run the command "devices", but the only device that gets listed is:
    S60_3rd:com.nokia.s60 - default (I only got the Qt Nokia SDK)

    Can anyone help me solve this problem?

    Thanks in advance


  • Moderators

    ABLD is only supported for Symbian^1, the others use the SBSv2 build system. The devices command is not supported by the Nokia Qt SDK at all.

    I think the simplest way to get your application build is to check Qt Creator's compile output and use the same commands it does. I find all the Symbian build systems to be rather tricky to use properly.



  • ok, thanks for your response. Any good suggestion of how i can debug the application for memory leaks?


  • Moderators

    Sorry, I am no expert in that area:-( I think you will find better answers to such Symbian specific questions on developer.nokia.com (note the missing Qt in the URL).


Log in to reply