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

Method selectFpcPath

src/addcompilerwizard.cpp:349–362  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

347}
348
349void AddCompilerWizard::selectFpcPath() {
350#ifdef Q_OS_WIN32
351 QString location = QFileDialog::getOpenFileName(this, tr("Select Compiler\'s Location"), QDir::rootPath(),
352 "fpc (fpc.exe)");
353#else
354 QString location =
355 QFileDialog::getOpenFileName(this, tr("Select Compiler\'s Location"), QDir::rootPath(), "fpc (fpc)");
356#endif
357
358 if (! location.isEmpty()) {
359 location = location.replace('/', QDir::separator());
360 ui->fpcPath->setText(location);
361 }
362}
363
364void AddCompilerWizard::selectFbcPath() {
365#ifdef Q_OS_WIN32

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected