QStringmsg=QObject::tr("Installation directory not found: no extensions can be found. Exiting. If you did not install CamiTK, you should at least set your current working directory to CamiTK Community Edition build dir. Note: the current working directory is %1").arg(getCurrentWorkingDir());
if(dir.empty()&&exitOnError){
QStringext=QFileInfo(suffix).completeBaseName();
QStringmsg=QObject::tr("Installation directory not found: no %1 extensions can be found. Exiting. If you did not install CamiTK, you should at least set your current working directory to CamiTK Community Edition build dir. Note: the current working directory is %2, looking for %3").arg(ext,getCurrentWorkingDir(),suffix);