b-com-software-basis / builddefs-qmake

QMake build script tools to manage cross platform project building and dependencies in development projects (also manages nsis installer, mac bundling...). Aims at providing Maven like dependencies management to C/C++ builds.
2 stars 4 forks source link

[Feature Request] Improve visibility of error relative to missing pkg-config tool #14

Open jim-bcom opened 11 months ago

jim-bcom commented 11 months ago

PROBLEM

The problem is that the command seems to have run without error.

When make is invoked to compile the project, the library's header files (e.g. xpcf) are not found, and this library is nowhere to be found on the compiler command line.

When looking more closely at the qmake command logs, we can see indications that something went wrong:

Although, the sh error is explanatory, time can be lost looking for what actually happened.

SUGGESTED SOLUTION

CONFIGURATION OS: Ubuntu-22.04 remaken: 1.9.4 builddefs-qmake: 4.9.5

stefled commented 11 months ago

A fix has been added : Qmake returns an error when pkg-config is needed but not found

will be available in a next release