![]() ![]() The path above is clearly not inside the bundle.Įven more, when I tried to place the database in the Resources folder inside the bundle, when browsing to it (after starting the app by clicking the application.app) I was unable to open the app bundle. Is this good and will it work for a bundle application ? I somehow had the illusion that a bundle means that all files created through the app will be stored inside the bundle - that is how things on my iPad seem to work. Temporary bitmaps sent to printer - same place /tmp (may use the cups temporary folder) I set the database location in the same place. The application also reads / writes (and can even drag-and-drop) custom files.Īs I am testing it, I set default read/write location for user-created files in /Users/CurrentUser/Documents/M圜ompany/MyProduct/ so the database must be accessible using file browser. My application uses a resources database - opened from code, from an installed location, or users can change to a different location. Resources - myapplication.rc, empty.lproj, qt.conf I made it with a bundle structure: myapplication.app I am porting an application (written in Qt) from windows and linux to mac. Here is my story, please help me understand where files need to be placed in - and out - of a mac app bundle. ![]() It is my first mac adventure, and the information I find on the web is either contradictory, or does not fit with the reality. I am confused about how creating a mac app - inside a bundle - works. ![]()
0 Comments
Leave a Reply. |