[Interest] including config file with macdeployqt

Gian Maxera gmaxera at gmail.com
Fri May 13 13:46:08 CEST 2016


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.martell at 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 at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest




More information about the Interest mailing list