PDA

View Full Version : how to make sure a regular file has been created before compiling qt project



govi2
9th May 2016, 14:59
suppose myfile.cpp, mydata.dat are generated by another Makefile.
I need to make sure these two files are generated before compiling my qt project
I am wondering how to integrate it into pro file.

any suggestions? Thanks

anda_skoa
10th May 2016, 07:01
Maybe through adding a custom compiler?

http://doc.qt.io/qt-5/qmake-advanced-usage.html#adding-compilers

Cheers,
_