diff options
Diffstat (limited to 'qt-ui/src/util.ts')
-rw-r--r-- | qt-ui/src/util.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-ui/src/util.ts b/qt-ui/src/util.ts index ded5ed5..a0f2553 100644 --- a/qt-ui/src/util.ts +++ b/qt-ui/src/util.ts @@ -58,6 +58,9 @@ export async function locateDesigner(selectedQtPath: string) { return designerExePath; } const qmakeExePath = await locateQmakeExeFilePath(selectedQtPath); + if (!qmakeExePath) { + return ''; + } const designer = extractDesignerExePathFromQtPath(qmakeExePath); if (await designer) { return designer; |