Christophe Dumez
15 years ago
4 changed files with 43 additions and 0 deletions
@ -0,0 +1,16 @@ |
|||||||
|
/* |
||||||
|
-----BEGIN QCMOD----- |
||||||
|
name: pkg-config |
||||||
|
-----END QCMOD----- |
||||||
|
*/ |
||||||
|
#include <QProcess> |
||||||
|
class qc_pkg_config : public ConfObj |
||||||
|
{ |
||||||
|
public: |
||||||
|
qc_pkg_config(Conf *c) : ConfObj(c) {} |
||||||
|
QString name() const { return "pkg-config executable"; } |
||||||
|
QString shortname() const { return "pkg-config"; } |
||||||
|
bool exec(){ |
||||||
|
return !conf->findProgram("pkg-config").isEmpty(); |
||||||
|
} |
||||||
|
}; |
Loading…
Reference in new issue