mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-12-27 08:19:30 +08:00
17 lines
355 B
Plaintext
17 lines
355 B
Plaintext
|
/*
|
||
|
-----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();
|
||
|
}
|
||
|
};
|