final ports and first fixes

This commit is contained in:
Geoffray Levasseur committed 2026-11-04 11:55:54 +01:00
1 parent 77690cbd96
commit 6f3556009a
23 files changed
+2302 -41

No files matched your search

+4
View File
@@ -47,6 +47,10 @@ namespace {
// resolve the install-time default set up by CMakeLists.txt.
QString getAiDir()
{
// The CEVO_AI_DIR environment variable overrides the install location (for running a build-tree binary).
const QByteArray fromEnvironment = qgetenv("CEVO_AI_DIR");
if (!fromEnvironment.isEmpty())
return QString::fromLocal8Bit(fromEnvironment);
#ifdef CEVO_AI_DIR
return QStringLiteral(CEVO_AI_DIR);
#else