/*
-----BEGIN QCMOD-----
name: qcapluginpath
-----END QCMOD-----
*/

class qc_qcapluginpath : public ConfObj
{
public:
	qc_qcapluginpath(Conf *c) : ConfObj(c) {}
	QString name() const { return "qcapluginpath"; }
	QString shortname() const { return "qcapluginpath"; }

	// no output
	QString checkString() const { return QString(); }

	bool exec()
	{
		// install into plugins path
		QString str;
		str += QString(
		"target.path=%1/crypto\n"
		"INSTALLS += target\n"
		).arg(QLibraryInfo::location(QLibraryInfo::PluginsPath));
		conf->addExtra(str);
		return true;
	}
};
