Skip to content
Permalink
Browse files

Remove hardcoded path for pyuic4 on Mac install

  • Loading branch information
dakcarto committed Sep 13, 2012
1 parent d11fd92 commit 396f3633f3b33bc966ab29399d9e4e723210e3e9
Showing with 1 addition and 1 deletion.
  1. +1 −1 mac/cmake/1qt.cmake.in
@@ -121,7 +121,7 @@ FOREACH (PU pylupdate4;pyrcc4)
ENDIF ()
ENDFOREACH (PU)
IF (NOT EXISTS "${QBINDIR}/pyuic4")
EXECUTE_PROCESS (COMMAND sed -E "s, /.*/PyQt4/uic/pyuic.py, ${QDATADIR}/python/PyQt4/uic/pyuic.py," "@PYQT4_BIN_DIR@/pyuic4"
EXECUTE_PROCESS (COMMAND sed -E "s, /.*/PyQt4/uic/pyuic.py, \"\$(/usr/bin/dirname \"\$0\")/../../Resources/python/PyQt4/uic/pyuic.py\"," "@PYQT4_BIN_DIR@/pyuic4"
OUTPUT_VARIABLE PYUIC_CONTENTS)
FILE (WRITE "${QBINDIR}/pyuic4" "${PYUIC_CONTENTS}")
EXECUTE_PROCESS (COMMAND chmod +x "${QBINDIR}/pyuic4")

0 comments on commit 396f363

Please sign in to comment.
You can’t perform that action at this time.