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

Method selectGppPath

src/addcompilerwizard.cpp:334–347  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

332}
333
334void AddCompilerWizard::selectGppPath() {
335#ifdef Q_OS_WIN32
336 QString location = QFileDialog::getOpenFileName(this, tr("Select Compiler\'s Location"), QDir::rootPath(),
337 "g++ (g++.exe)");
338#else
339 QString location =
340 QFileDialog::getOpenFileName(this, tr("Select Compiler\'s Location"), QDir::rootPath(), "g++ (g++)");
341#endif
342
343 if (! location.isEmpty()) {
344 location = location.replace('/', QDir::separator());
345 ui->gppPath->setText(location);
346 }
347}
348
349void AddCompilerWizard::selectFpcPath() {
350#ifdef Q_OS_WIN32

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected