Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Cannot start app in simulator when linking with mobility API

Cannot start app in simulator when linking with mobility API

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 1 Posters 2.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    ciuflingar
    wrote on last edited by
    #1

    Hi,

    I am developing an application using Nokia SDK 1.0 on Windows 7 platform.
    I passed all the challenges, until now when I added mobility libraries to my application:

    CONFIG += mobility
    MOBILITY = systeminfo

    Now when I try to start application ( debug or release ) in Symbian simulator I it gives me the following error:

    ".._build\debug\testa.exe exited with code -1073741515" and I can not stop the debugger until I restart the creator. The debug button stays grayed as when debugging is in progress even when I try to stop it. When I close the QtCreator I receive a message that a debugging session is in progress and option to terminate it.

    Same issue when I try to launch in release mode.

    If I remove mobility APIs from the pro file simulator is working fine as it should.

    On device debugging is working fine with mobility libraries so is clear that the simulator cannot find the mobility APIs. I observed that it creates an empty folder on C: named QtSystemInfo with an empty directory inside.

    [Update]
    In "Creator->Options->Qt4->Qt Versions->config list":

    • When I hover mouse on the "Simulator for MinGW4.4 ( Nokia Qt SDK )" item form the "config list" it displays a bunch of settings for the selected configuration.
    • QT_INSTALL_LIBS has value: "C:/NokiaQtSDK/Simulator/Qt/mingw/libs"
    • I found that Mobility libraries are located in "C:\NokiaQtSDK\Simulator\QtMobility\mingw\lib".
    • I see this as a possible issue but I do not know how to add the mobility library path to the QT_INSTALL_LIBS configuration variable.

    [Update]
    In "C:\NokiaQtSDK\Simulator\QtMobility\mingw\mobility.prf.template" file I found this line "simulator: qtAddLibrary(QtMobilitySimulator)" which I think is responsible with the above issue.

    Thank you!

    1 Reply Last reply
    0
    • ? This user is from outside of this forum
      ? This user is from outside of this forum
      Guest
      wrote on last edited by
      #2

      tech preview of sdk 1.1 is out, wanna give a shot and see if your issue is fixed?

      1 Reply Last reply
      0
      • C Offline
        C Offline
        ciuflingar
        wrote on last edited by
        #3

        I tried with the new SDK but same issue: "During startup program exited with code 0x0000135"

        This error confirm missing libraries. I think I need a special setup to include the mobility libraries in the emulator. But the info on this is weak so I did not found how to do it.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved