-
Notifications
You must be signed in to change notification settings - Fork 97
Open
Description
qt-build-utils expects QMAKE to point to the qmake binary. However, some Qt installations come with wrappers for qmake.
Example: qt built with vcpkg comes with a qmake.debug.bat in the same folder as qmake.exe, which wraps it to point to the debug build of Qt.
qt-build-utils currently cannot handle passing such a script as QMAKE, because it uses Command::new to execute it - and this only works with binaries, not with scripts.
I suppose to invoke cmd on the passed QMAKE instead, so that this use-case works. If you agree, I would be happy to provide a pull request.
An alternative solution would be to add another env var, QTCONF, which points to the qt conf file for qmake to use.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels