Skip to content

Commit

Permalink
add extra path to find qmake on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
pustotnik committed Jun 6, 2024
1 parent 96ce1a7 commit 7419b68
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/zenmake/zm/features/qt5.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@
'/opt/qt/bin',
]

if PLATFORM == 'darwin':
EXTRA_BIN_PATHS[:0] = [
'/usr/local/opt/qt@5/bin',
]

QMAKE_NAMES = ('qmake-qt5', 'qmake5', 'qmake')
if HOST_OS == 'windows':
QMAKE_NAMES = tuple(x + '.exe' for x in QMAKE_NAMES)
Expand Down

0 comments on commit 7419b68

Please sign in to comment.