Skip to content
Snippets Groups Projects
Commit 194d62d7 authored by Steve Lhomme's avatar Steve Lhomme
Browse files

contrib: qt: fix the moc version detection

Following 6140b72e we check moc instead of qt-cmake.
But we should use system_tool_majmin in this case, like the other tools.

Fixes this line written each time make is called:
> /bin/sh: 1: Syntax error: end of file unexpected
parent 20eb666f
No related branches found
No related tags found
Loading
Pipeline #470937 passed with warnings with stage
in 58 minutes and 45 seconds
......@@ -27,7 +27,7 @@ PKGS_FOUND += qt
endif
ifndef HAVE_CROSS_COMPILE
PKGS_FOUND += qt-tools
else ifeq ($(call system_tool_version, moc --version),$(QTBASE_VERSION_MAJOR))
else ifeq ($(call system_tool_majmin, moc --version),$(QTBASE_VERSION_MAJOR))
PKGS_FOUND += qt-tools
endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment