#undef NDEBUG #include #include "base-path.hpp" #include const QString& application_base_path() { assert(qApp && "logic error"); static QString path = QCoreApplication::applicationDirPath(); return path; }