Skip to content

Commit

Permalink
* fix pyuic wrapper on windows
Browse files Browse the repository at this point in the history
* fix PyQt wrapper installation on precise
  • Loading branch information
jef-n committed Mar 17, 2016
1 parent 5c3c99c commit 09f6b91
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/PyQt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ ELSE(ENABLE_QT5)
ENDIF(ENABLE_QT5)

FOREACH(pyfile ${PYQT_COMPAT_FILES})
GET_FILENAME_COMPONENT(_dir ${pyfile} DIRECTORY)
GET_FILENAME_COMPONENT(_dir ${pyfile} PATH)
SET(pyfile ${PYQT_PREFIX}/${pyfile})
LIST(APPEND PYQT_COMPAT_FILES_PREFIXED ${pyfile})
ADD_CUSTOM_COMMAND(TARGET pyqtcompat
Expand Down
3 changes: 2 additions & 1 deletion scripts/pyuic-wrapper.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
set PYUIC4=%1
set PATH=%2;%PATH%
set PYTHONPATH=%3;%PYTHONPATH%
%PYUIC4% %5 %6 %7 %8 %9
set PYTHON=%4
%PYTHON% %~dp0\pyuic-wrapper.py %5 %6 %7 %8 %9

1 comment on commit 09f6b91

@m-kuhn
Copy link
Member

@m-kuhn m-kuhn commented on 09f6b91 Mar 17, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jef-n any opinion where the PyQt wrappers should be installed?
Toplevel python path?
As submodule of qgis?

Please sign in to comment.