ZikO
4th September 2012, 14:01
Hi,
I need an advice from someone who has an experience in deploying applications for both platforms: Windows and Mac OS X.
The problem is that, in windows, all additional files such a local sort of database saved via QDataStream class, external binary resources (*.rcc), and translations (*.qm files) may be simply uploaded in the same directory and the application can find it. On the other hand, Mac OS X causes problems unless I provide absolute path. Unless I build all resources into an application, Mac cannot see them. I really need that run-time load mode available because the "database" file can be updated frequently.
I read about Mac OS X that it uses a special folder called "bundle". This is like folder with special directories: Contents/, MacOS/, and Resources/ etc. I thought I could upload the local database to Resources/ but it does not work--Mac still cannot see it. Any idea where I should keep all extra files so that they can be found my iOS system?
Thanks
PS.I just thought I could use something that returns the application's path. It is somehow solution but I was wondering if there is a better one as well.
I need an advice from someone who has an experience in deploying applications for both platforms: Windows and Mac OS X.
The problem is that, in windows, all additional files such a local sort of database saved via QDataStream class, external binary resources (*.rcc), and translations (*.qm files) may be simply uploaded in the same directory and the application can find it. On the other hand, Mac OS X causes problems unless I provide absolute path. Unless I build all resources into an application, Mac cannot see them. I really need that run-time load mode available because the "database" file can be updated frequently.
I read about Mac OS X that it uses a special folder called "bundle". This is like folder with special directories: Contents/, MacOS/, and Resources/ etc. I thought I could upload the local database to Resources/ but it does not work--Mac still cannot see it. Any idea where I should keep all extra files so that they can be found my iOS system?
Thanks
PS.I just thought I could use something that returns the application's path. It is somehow solution but I was wondering if there is a better one as well.