diff --git a/hiro/GNUmakefile b/hiro/GNUmakefile index 51671b96..04837b27 100755 --- a/hiro/GNUmakefile +++ b/hiro/GNUmakefile @@ -52,7 +52,7 @@ ifneq ($(filter $(platform),linux bsd),) endif ifeq ($(hiro),qt5) - moc = /usr/local/lib/qt5/bin/moc + moc = $(shell pkg-config --variable=host_bins Qt5Core)/moc hiro.flags = $(flags.cpp) -DHIRO_QT=5 -fPIC $(shell pkg-config --cflags Qt5Core Qt5Gui Qt5Widgets) hiro.options = -L/usr/local/lib -lX11 $(shell pkg-config --libs Qt5Core Qt5Gui Qt5Widgets) endif