[Qt-interest] How to stop build immediately upon .pc file missing?

Liu, Raymond raymond.liu at intel.com
Tue Mar 9 08:48:48 CET 2010


Hi

I am using the following syntax in .pro file for dependency checking

CONFIG += link_pkgconfig
PKGCONFIG += ...

If the dependency package is not installed, qmake/make did report the error that the .pc file is not found. But it will continue building until encounter the real problem say some head file missing from the package. It might be annoying if the error message already been flushed.

So, how can I stop the build process as soon as the .pc file is not found?

Best Regards,
Raymond Liu





More information about the Qt-interest-old mailing list