qCritical instead of debug
BASEDIR_NAME for real build