MCPcopy Create free account
hub / github.com/Project-LemonLime/Project_LemonLime / selectGccPath

Method selectGccPath

src/addcompilerwizard.cpp:319–332  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

317}
318
319void AddCompilerWizard::selectGccPath() {
320#ifdef Q_OS_WIN32
321 QString location = QFileDialog::getOpenFileName(this, tr("Select Compiler\'s Location"), QDir::rootPath(),
322 "gcc (gcc.exe)");
323#else
324 QString location =
325 QFileDialog::getOpenFileName(this, tr("Select Compiler\'s Location"), QDir::rootPath(), "gcc (gcc)");
326#endif
327
328 if (! location.isEmpty()) {
329 location = location.replace('/', QDir::separator());
330 ui->gccPath->setText(location);
331 }
332}
333
334void AddCompilerWizard::selectGppPath() {
335#ifdef Q_OS_WIN32

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected