Skip to content

Commit

Permalink
remove qmake spec to see if LINK error is resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
leofang committed Sep 19, 2019
1 parent d49747b commit 163b77a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 18 additions & 1 deletion recipe/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@


:: need to build a private copy of sip to avoid "module PyQt5.sip not found" error
echo.
echo ************** start building a private sip module **************
echo.
cd sip

%PYTHON% configure.py --sip-module PyQt5.sip
Expand All @@ -19,9 +22,15 @@ nmake install
if errorlevel 1 exit 1

cd ..
echo.
echo ************************ built sip module ***********************
echo.


:: build PyQt5
echo.
echo ************** start building PyQt5 **************
echo.
cd pyqt5

%PYTHON% configure.py ^
Expand All @@ -30,7 +39,6 @@ cd pyqt5
--assume-shared ^
--qmake="%LIBRARY_BIN%\qmake.exe" ^
--bindir="%LIBRARY_BIN%" ^
--spec=win32-msvc ^
--enable QtWidgets ^
--enable QtGui ^
--enable QtCore ^
Expand Down Expand Up @@ -67,9 +75,15 @@ jom install
if errorlevel 1 exit 1

cd ..
echo.
echo ******************* built PyQt5 ******************
echo.


:: install PyQtWebEngine
echo.
echo ************** start building PyQtWebEngine **************
echo.
cd pyqtwebengine

%PYTHON% configure.py
Expand All @@ -82,3 +96,6 @@ nmake install
if errorlevel 1 exit 1

cd ..
echo.
echo ****************** built PyQtWebEngine *******************
echo.
2 changes: 2 additions & 0 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@ source:
# remove build path from .bat
- 0004-configure-winbat.patch # [win]
folder: pyqt5

- url: https://www.riverbankcomputing.com/static/Downloads/sip/4.19.18/sip-4.19.18.tar.gz
sha1: d001eb00f6dae26a952770e805b1519f61cae77d
folder: sip

- url: https://www.riverbankcomputing.com/static/Downloads/PyQtWebEngine/5.12.1/PyQtWebEngine_gpl-5.12.1.tar.gz
sha1: 737acf93ecf39e5e2136e094a8b0a9ffa47bd2de
folder: pyqtwebengine
Expand Down

0 comments on commit 163b77a

Please sign in to comment.