16
64
QString checkString() const { return QString(); }
22
74
conf->addExtra(QString("PSI_LIBDIR=%1/psi").arg(conf->getenv("LIBDIR")));
23
75
conf->addExtra(QString("PSI_DATADIR=%1/psi").arg(conf->getenv("DATADIR")));
25
78
QFile file("src/config.h");
26
79
if ( file.open(QIODevice::WriteOnly | QIODevice::Text) ) {
27
80
QTextStream stream( &file );
28
82
stream << "#define PSI_LIBDIR \"" << conf->getenv("LIBDIR") << "/psi\"" << endl;
29
83
stream << "#define PSI_DATADIR \"" << conf->getenv("DATADIR") << "/psi\"" << endl;
32
88
conf->addDefine("HAVE_CONFIG");