I wonder what is this file deployment.pri
when I create a plain C++ project. Also, is there an option to turn off adding this file with plain C++ project? I ended up removing it but I have to do this every time I create plain C++ project.
By and large, .pro
file uses .pri
files to separate the project settings (that go directly to qmake) and the included files (sources, headers, etc.).
You can customize the default project templates as you wish:
%QTDIR%/share/qtcreator/templates
(for Windows);
/usr/share/qtcreator/templates
(for Unix).
For example, the plain C++ template for qmake is stored at %QTDIR%/share/qtcreator/templates/wizards/plaincppapp/qmake/project.pro
. Simply edit this file and remove the unwanted lines (include(deployment.pri)
in your case).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With