Skip to content

Commit

Permalink
Maya 2013.5 windows scripts updates
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrillef committed May 14, 2015
1 parent 302b7ba commit c554976
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 42 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
# Maya-PyQt-Scripts
Scripts to easily build PyQt for Maya

These are the scripts used for building Qt, PyQt and PySide for Maya 2013.

## Maya 2013-5
The windows scripts get updated for Maya 2013-5. They are similar to the Maya 2013 procedures and instructions, but you do not need to rebuild openssl this time.


## Maya 2013
You can find the scripts used for building Qt, PyQt and PySide for Maya 2013, [here](https://github.com/cyrillef/Maya-PyQt-Scripts/releases/tag/v2013.0).
You can find more explanations about building PyQt and PySide and instructions about using these scripts on the blog at:

http://around-the-corner.typepad.com/adn/2012/10/building-qt-pyqt-pyside-for-maya-2013.html
Expand Down
3 changes: 1 addition & 2 deletions win/build All.bat
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
@echo off
call "E:\__sdkext\_Maya2013 Scripts\build setup.bat"
call "E:\__sdkext\_Maya2013-5 Scripts\build setup.bat"
call "build Qt.bat"
call "build SIP.bat"
call "build PyQt.bat"

26 changes: 0 additions & 26 deletions win/build OpenSSL.bat

This file was deleted.

3 changes: 2 additions & 1 deletion win/build PyQt.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@echo off
IF NOT "%CYRILLE%" == "OK", call "E:\__sdkext\_Maya2013 Scripts\build setup.bat"
IF NOT "%CYRILLE%" == "OK", call "E:\__sdkext\_Maya2013-5 Scripts\build setup.bat"

rem ------------------------------------------------
rem Building PyQt
Expand All @@ -13,3 +13,4 @@ nmake install

rem ------------------------------------------------

rem "c:\Program Files\Autodesk\Maya2013.5\bin\mayapy" configure.py LIBDIR_QT=V:\qt-adsk-4.7.1\lib INCDIR_QT=V:\qt-adsk-4.7.1\include MOC=moc.exe -w --no-designer-plugin
2 changes: 1 addition & 1 deletion win/build PySide.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@echo off
IF NOT "%CYRILLE%" == "OK", call "E:\__sdkext\_Maya2013 Scripts\build setup.bat"
IF NOT "%CYRILLE%" == "OK", call "E:\__sdkext\build setup.bat"

rem ------------------------------------------------
rem Building PySide
Expand Down
6 changes: 2 additions & 4 deletions win/build Qt.bat
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
@echo off
IF NOT "%CYRILLE%" == "OK", call "E:\__sdkext\_Maya2013 Scripts\build setup.bat"
IF NOT "%CYRILLE%" == "OK", call "E:\__sdkext\_Maya2013-5 Scripts\build setup.bat"

rem ------------------------------------------------
rem Building Qt

cd %QTDIR%
rem nmake confclean
rem configure -platform win32-msvc%MSVC_VERSION% -debug-and-release
rem configure -platform win32-msvc%MSVC_VERSION% -debug-and-release -no-phonon -no-phonon-backend -no-webkit
configure -platform win32-msvc%MSVC_VERSION% -debug-and-release -openssl-linked -I %OPENSSL%\inc32 -L %OPENSSL%\out32dll OPENSSL_LIBS="-lssleay32 -llibeay32 -lgdi32 -lcrypt32 -luser32 -ladvapi32"
configure -platform win32-msvc%MSVC_VERSION% -debug-and-release -no-qt3support -no-phonon -no-phonon-backend -no-webkit
nmake

rem Building the Maya devkit Qt plug-ins
Expand Down
2 changes: 1 addition & 1 deletion win/build SIP.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@echo off
IF NOT "%CYRILLE%" == "OK", call "E:\__sdkext\_Maya2013 Scripts\build setup.bat"
IF NOT "%CYRILLE%" == "OK", call "E:\__sdkext\_Maya2013-5 Scripts\build setup.bat"

rem ------------------------------------------------
rem Building SIP
Expand Down
9 changes: 4 additions & 5 deletions win/build setup.bat
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
@echo off
subst v: /d
subst v: "E:\__sdkext\_Maya2013 Scripts"
subst v: "E:\__sdkext\_Maya2013-5 Scripts"
v:
SET CYRILLE=OK

set QTDIR=v:\qt-adsk-4.7.1
set OPENSSL=v:\openssl-1.0.0e
set PATH=%QTDIR%\bin;%PATH%
SET MSVC_VERSION=2010
SET MSVC_DIR=C:\Program Files (x86)\Microsoft Visual Studio 10.0
set QMAKESPEC=win32-msvc%MSVC_VERSION%

call "%MSVC_DIR%\VC\vcvarsall" amd64
rem call "%MSVC_DIR%\VC\vcvarsall" amd64

set MAYA_LOCATION=C:\Program Files\Autodesk\Maya2013
set MAYA_LOCATION=C:\Program Files\Autodesk\Maya2013.5
set INCLUDE=%INCLUDE%;%MAYA_LOCATION%\include\python2.6;%MAYA_LOCATION%\Python\include
set LIB=%LIB%;%MAYA_LOCATION%\lib
set QMAKESPEC=%QTDIR%\mkspecs\win32-msvc%MSVC_VERSION%
rem set QMAKESPEC=%QTDIR%\mkspecs\win32-msvc%MSVC_VERSION%
2 changes: 1 addition & 1 deletion win/build shiboken.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@echo off
IF NOT "%CYRILLE%" == "OK", call "E:\__sdkext\_Maya2013 Scripts\build setup.bat"
IF NOT "%CYRILLE%" == "OK", call "E:\__sdkext\_Maya2013-5 Scripts\build setup.bat"

rem ------------------------------------------------
rem Building shiboken
Expand Down

0 comments on commit c554976

Please sign in to comment.