Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
OSGeo4W64
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xuebingbing
OSGeo4W64
Commits
4f0085e7
Commit
4f0085e7
authored
Sep 09, 2020
by
xuebingbing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1 修复 pyrcc5.bat pyuic5.bat 单独调用不能生效的问题
parent
bfb4e803
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
4 deletions
+20
-4
pyrcc5.bat
apps/Python37/Scripts/pyrcc5.bat
+8
-4
pyuic5.bat
apps/Python37/Scripts/pyuic5.bat
+10
-0
py3_env.bat
bin/py3_env.bat
+1
-0
qt5_env.bat
bin/qt5_env.bat
+1
-0
No files found.
apps/Python37/Scripts/pyrcc5.bat
View file @
4f0085e7
@echo off
@pushd %~dp0
@pushd %~dp0
%OSGEO4W_ROOT%\bin\o4w_env.bat
@if not defined OSGEO4W_ROOT ( @call "%~sdp0..\..\..\bin\o4w_env.bat" )
%OSGEO4W_ROOT%\bin\qt5_env.bat
@if not defined O4W_WITH_QT5 ( @call "%OSGEO4W_ROOT%\bin\qt5_env.bat" )
%OSGEO4W_ROOT%\bin\py3_env.bat
@if not defined O4W_WITH_PY3 ( @call "%OSGEO4W_ROOT%\bin\py3_env.bat" )
echo "%OSGEO4W_ROOT%\apps\Python37\python.exe -m PyQt5.pyrcc_main %*"
REM @C:\\OSGeo4W64\apps\Python37\python.exe -m PyQt5.pyrcc_main %*
REM @C:\\OSGeo4W64\apps\Python37\python.exe -m PyQt5.pyrcc_main %*
%OSGEO4W_ROOT%\apps\Python37\python.exe -m PyQt5.pyrcc_main %*
%OSGEO4W_ROOT%\apps\Python37\python.exe -m PyQt5.pyrcc_main %*
@popd
:end
popd
apps/Python37/Scripts/pyuic5.bat
View file @
4f0085e7
@echo off
@pushd %~dp0
@if not defined OSGEO4W_ROOT ( @call "%~sdp0..\..\..\bin\o4w_env.bat" )
@if not defined O4W_WITH_QT5 ( @call "%OSGEO4W_ROOT%\bin\qt5_env.bat" )
@if not defined O4W_WITH_PY3 ( @call "%OSGEO4W_ROOT%\bin\py3_env.bat" )
@%OSGEO4W_ROOT%\apps\Python37\python.exe -m PyQt5.uic.pyuic %*
@%OSGEO4W_ROOT%\apps\Python37\python.exe -m PyQt5.uic.pyuic %*
:end
popd
bin/py3_env.bat
View file @
4f0085e7
SET PYTHONHOME=%OSGEO4W_ROOT%\apps\Python37
SET PYTHONHOME=%OSGEO4W_ROOT%\apps\Python37
SET PYTHONPATH=%PYTHONHOME%;%PYTHONHOME%\Scripts
SET PYTHONPATH=%PYTHONHOME%;%PYTHONHOME%\Scripts
SET O4W_WITH_PY3=TRUE
PATH %PYTHONPATH%;%PATH%
PATH %PYTHONPATH%;%PATH%
bin/qt5_env.bat
View file @
4f0085e7
...
@@ -10,3 +10,4 @@ set O4W_QT_LIBRARIES=%OSGEO4W_ROOT:\=/%/apps/Qt5/lib
...
@@ -10,3 +10,4 @@ set O4W_QT_LIBRARIES=%OSGEO4W_ROOT:\=/%/apps/Qt5/lib
set O4W_QT_TRANSLATIONS=%OSGEO4W_ROOT:\=/%/apps/Qt5/translations
set O4W_QT_TRANSLATIONS=%OSGEO4W_ROOT:\=/%/apps/Qt5/translations
set O4W_QT_HEADERS=%OSGEO4W_ROOT:\=/%/apps/Qt5/include
set O4W_QT_HEADERS=%OSGEO4W_ROOT:\=/%/apps/Qt5/include
set O4W_QT_DOC=%OSGEO4W_ROOT:\=/%/apps/Qt5/doc
set O4W_QT_DOC=%OSGEO4W_ROOT:\=/%/apps/Qt5/doc
set O4W_WITH_QT5=TRUE
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment