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

Method selectInterpreterLocation

src/addcompilerwizard.cpp:304–317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

302}
303
304void AddCompilerWizard::selectInterpreterLocation() {
305#ifdef Q_OS_WIN32
306 QString location = QFileDialog::getOpenFileName(this, tr("Select Interpreter\'s Location"),
307 QDir::rootPath(), tr("Executable files (*.exe)"));
308#else
309 QString location = QFileDialog::getOpenFileName(this, tr("Select Interpreter\'s Location"),
310 QDir::rootPath(), tr("Executable files (*.*)"));
311#endif
312
313 if (! location.isEmpty()) {
314 location = location.replace('/', QDir::separator());
315 ui->interpreterLocation->setText(location);
316 }
317}
318
319void AddCompilerWizard::selectGccPath() {
320#ifdef Q_OS_WIN32

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected