How to make the .cfg file not into the binary file when compile?
-
wrote on 29 Jun 2021, 08:08 last edited by
I don't know how to descripe the question more accurate.
Here is the what I want to do:
There is a .cfg file in my project, and I use qt creator to develop this project.
I create a cfg file to be a onfiguration file which includes some title texts configration.
I want to edit this file to change the title after the binary file installed into another machine.
but when i run qmake and make, i can't find the cfg file in the compile output path.How can i do to get the cfg file out of the binary file ?
-
I don't know how to descripe the question more accurate.
Here is the what I want to do:
There is a .cfg file in my project, and I use qt creator to develop this project.
I create a cfg file to be a onfiguration file which includes some title texts configration.
I want to edit this file to change the title after the binary file installed into another machine.
but when i run qmake and make, i can't find the cfg file in the compile output path.How can i do to get the cfg file out of the binary file ?
@Puzzlesaur Take a look at https://doc.qt.io/qt-5/qmake-advanced-usage.html "Installing Files"
1/2