custom.pro does not produces effects
Posted by Nicu Tofan on Mar 18, 2013; 12:17pm
URL: https://forum.librecad.org/custom-pro-does-not-produces-effects-tp5707720.html
custom.pro is included in librecad.pro by this line:
exists( custom.pro ):include( custom.pro )
I suspect that the author expected that the things defined in custom.pro will be visible to the projects in sub-directories. However, this is not the case (I don't know if this is a bug in qmake or it is so by design). To make it useful above line should be copied to all .pro files.
I use this file kind of to indicate library and include paths on Windows and is quite useful to me.
I'm posting here instead of a pull request because the purpose of this file may be other than the one that I assume. Is it ok to add the line:
# custom definitions from the user
exists( custom.pro ):include( custom.pro )
in common.pro? This will include custom.pro in all projects that produce output:
- jwwlib
- libdxfrw
- src
- all plugins
- ttf2ltf