Changeset 2978 for trunk/kBuild/units/qt5.kmk
- Timestamp:
- Sep 27, 2016, 4:32:29 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/units/qt5.kmk
r2975 r2978 257 257 ))) 258 258 else 259 PATH_TOOL_QT5_BIN := $(patsubst %/moc-qt5,%,$(firstword $(wildcard \ 259 # No suffix given, so before we check out -qt5 look at qt5 specific locations to avoid choosers and symlinks. 260 PATH_TOOL_QT4_BIN := $(patsubst %/moc,%,$(firstword $(wildcard \ 261 $(foreach type,$(KBUILD_OSARCH_2_GNU_SYSTEM_TYPES.$(KBUILD_HOST_DOT_ARCH)),/usr/lib/$(type)/qt5/bin/moc) \ 262 $(if $(intersects $(KBUILD_HOST_ARCH), $(KBUILD_ARCHES_64)),/usr/lib64/qt5/bin/moc,) \ 263 /usr/lib/qt5/bin/moc \ 264 /usr/local/lib/qt5/bin/moc \ 265 /usr/qt/5/bin/moc \ 266 /usr/local/qt/5/bin/moc \ 267 /usr/share/qt5/bin/moc \ 268 /usr/local/share/qt5/bin/moc \ 269 ))) 270 ifeq ($(PATH_TOOL_QT5_BIN),) 271 PATH_TOOL_QT5_BIN := $(patsubst %/moc-qt5,%,$(firstword $(wildcard \ 260 272 $(foreach type,$(KBUILD_OSARCH_2_GNU_SYSTEM_TYPES.$(KBUILD_HOST_DOT_ARCH)),/usr/lib/$(type)/qt5/bin/moc-qt5) \ 261 273 /usr/lib/qt5/bin/moc-qt5 \ … … 265 277 /usr/bin/moc-qt5 \ 266 278 ))) 267 ifneq ($(PATH_TOOL_QT5_BIN),) 268 TOOL_QT5_BIN_SUFF := -qt5 269 else 270 # If no luck, try looking for moc in the qt5 specific locations. 271 PATH_TOOL_QT5_BIN := $(patsubst %/moc,%,$(firstword $(wildcard \ 272 $(foreach type,$(KBUILD_OSARCH_2_GNU_SYSTEM_TYPES.$(KBUILD_HOST_DOT_ARCH)),/usr/lib/$(type)/qt5/bin/moc) \ 273 /usr/lib/qt5/bin/moc \ 274 /usr/qt/5/bin/moc \ 275 /usr/share/qt5/bin/moc \ 276 ))) 279 ifneq ($(PATH_TOOL_QT5_BIN),) 280 TOOL_QT5_BIN_SUFF := -qt5 281 endif 277 282 endif 278 283 endif
Note:
See TracChangeset
for help on using the changeset viewer.