logic: added include path detector for visual studio

This commit is contained in:
malte_langkabel
2016-04-15 14:06:17 +02:00
parent 3cb15f1754
commit 530e20ede6
9 changed files with 169 additions and 165 deletions
@@ -117,8 +117,8 @@ void QtProjectWizzardContentPaths::setHelpString(const QString& help)
void QtProjectWizzardContentPaths::addDetection(QString name, QGridLayout* layout, int row)
{
StandardHeaderDetection detection;
std::vector<std::string> compilers = detection.getDetectedCompilers();
if (!compilers.size())
std::vector<std::string> detectorNames = detection.getWorkingDetectorNames();
if (!detectorNames.size())
{
return;
}
@@ -127,9 +127,9 @@ void QtProjectWizzardContentPaths::addDetection(QString name, QGridLayout* layou
m_detectorBox = new QComboBox();
for (const std::string& compiler : compilers)
for (const std::string& detectorName: detectorNames)
{
m_detectorBox->addItem(compiler.c_str());
m_detectorBox->addItem(detectorName.c_str());
}
QPushButton* button = new QPushButton("detect");