Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Is there a way to know if a symbian application is running on the simulator or the device?
Qt 6.11 is out! See what's new in the release blog

Is there a way to know if a symbian application is running on the simulator or the device?

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 1.7k 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.
  • AlicemirrorA Offline
    AlicemirrorA Offline
    Alicemirror
    wrote on last edited by
    #1

    Hi to all,

    to manage the correct path of my application folder structure - including the folders created by the application - I use QDir getting the various special paths ad descibed in the documentation. To know what are the correct paths in a multi-platform environment I use a set of _#ifdef _checking the actual operating system i.e. Q_OS_MAC, Q_OS_SYMBIAN, Q_OS_LINUX etc.

    The problem occours when I run the applicaiton with the simulator under a Windows machine.

    While running on the device (so is defined Q_OS_SYMBIAN) the data folder is under the currentPath()/data when the application run on the simulator there are two important differences:

    Instead of Q_OS_SYMBIAN it is defined Q_OS_WIN32

    The data folder is not in a subdirectory where the application runs but is in the previous level folder.

    The best way to workaround to this difference is to know if there is a system define that I can check to know if the symbian application is running under the simulator environemnt or the symbian phisycal device.

    Someone knows if there is a solution ?

    Enrico Miglino (aka Alicemirror)
    Balearic Dynamics
    Islas Baleares, Ibiza (Spain)
    www.balearicdynamics.com

    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