Yes, I know it's just a dir. I was looking for a way for the config
file to be automagically included when the bundle is made with
macdeployqt.

And as far as the location goes, I was wondering if there is some
standard place like ~/Library/... or something where the config file
should live.

On Fri, May 13, 2016 at 7:46 AM, Gian Maxera <gmax...@gmail.com> wrote:.
> Mac bundle (after all) is just a directory.
> So, you can just copy the config file where you want inside the directory and 
> access it getting the path relative to application dir path 
> (QCoreApplication::applicationDirPath()).
>
>
>> On 13 May 2016, at 12:42, Larry Martell <larry.mart...@gmail.com> wrote:
>>
>> I am creating a bundle with macdeployqt to distribute my app. I want
>> to have a config file that my app will read at startup. How can I
>> include that config file in my bundle, and where is the proper place
>> for it to live on the file system on the machine the app gets
>> installed on?
>> _______________________________________________
>> Interest mailing list
>> Interest@qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/interest
>
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to