How to map a local (PC-HDD) folder to QT simulator
-
Hi,
I test an application on Nokia X6 which needs to read/write some files in e:\data\xyz folder. I want to map a local folder (like C:\project\test cache) to the Qt simulator "E" storage that I created inside the simulator. Is this possible? If not, is there a standard folder somewhere inside "NokiaSDK" or "C:\Documents and Settings" (Win32) which I can use to copy some files to for later use inside my app?thanks,
eugen -
Hi,
applications compiled for the Qt Simulator can access the file system like every normal desktop Qt application, so you basically don't have to do any mapping. Just use the path to the files directly to access them from the application running in the Simulator.Olli
-
Hi,
I know this but it happens X6 to have the mass storage as "E" and my PC to have only "C" and "D" available. At least I would need something like:#ifdef SIMULATOR_ON
#define CACHE_PATH "c:\projects\xyz"
#else
#define CACHE_PATH "e:\data\xyz"
#endifI was not able to discover any simulator related define so far.
I expected the simulator to have a button near the Storage|Add button to allow mapping a folder for the newly created storage. Maybe this will be implemented in the future. It is very annoying to comment/uncomment a line of code when switching from simulator to device.thanks,
eugen