ui: Added user interface for auto system header search paths detection

* moved detection files to lib_gui
* added ui to global header search and framework search ui in project wizzard and preferences
* detecting the search paths will add them to the list if not added yet
* only detected compilers are shown in the dropdown list
This commit is contained in:
Eberhard Graether
2016-04-06 11:23:20 +02:00
parent 93f21283f6
commit 5e6714d95a
26 changed files with 345 additions and 243 deletions
+15
View File
@@ -0,0 +1,15 @@
#include "utility/utilityApp.h"
#include <QProcess>
std::string utility::executeProcess(const char *cmd)
{
QProcess process;
process.setProcessChannelMode(QProcess::MergedChannels);
process.start(cmd);
process.waitForFinished();
std::string processoutput = process.readAll().toStdString();
process.close();
return processoutput;
}