At the end of: void Application::loadConfiguration(const std::string& path, int priority) we need the following code: _pConfig->setString( "application.configDir", confPath.absolute().parent().toString() );