Hey trolls,
I have the following line in my .pro file :
Code:
include(src/factories/factories.pri)
I want these files to be added to my QtCreator projet but prevent them from being compiled.
How can I do that ?
Thanks.
Benjamin Arnaud.
Printable View
Hey trolls,
I have the following line in my .pro file :
Code:
include(src/factories/factories.pri)
I want these files to be added to my QtCreator projet but prevent them from being compiled.
How can I do that ?
Thanks.
Benjamin Arnaud.
QtCreator has an OTHER_FILES variable you can use for displaying files in project tree without compiling them.
Alternatively, if you want files to be compiled but not visible in QtCreator, you can wrap the include statement in an eval statement since QtCreator does not parse eval statements like qmake does.