16
16
QString checkString() const { return QString(); }
19
20
conf->addExtra(QString("PSI_DATADIR=%1/psi").arg(conf->getenv("DATADIR")));
21
22
QFile file("src/config.h");
22
23
if ( file.open(QIODevice::WriteOnly | QIODevice::Text) ) {
23
24
QTextStream stream( &file );
24
26
stream << "#define PSI_DATADIR \"" << conf->getenv("DATADIR") << "/psi\"" << endl;
27
29
conf->addDefine("HAVE_CONFIG");