Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for QScintilla #5

Open
Temujin2887 opened this issue Nov 15, 2017 · 1 comment
Open

Add support for QScintilla #5

Temujin2887 opened this issue Nov 15, 2017 · 1 comment

Comments

@Temujin2887
Copy link

Temujin2887 commented Nov 15, 2017

Could you add an optional build script for QScintilla? I was able to get it to work for 2017/2018 using the following windows batch (Along with adding QSCINTILLADIR to setup.bat)

@echo off
set XXX=%~dp0
if ["%MAYAPYQTBUILD%"]==[""] call "%XXX%setup.bat"

set QMAKESPEC=%QTDIR%\mkspecs\%_QMAKESPEC_%

rem Build QScintilla
pushd %QSCINTILLADIR%\Qt4Qt5
qmake
nmake release
nmake release-install
popd

rem Build QScintilla designer plugin wrapper
pushd %QSCINTILLADIR%\designer-Qt4Qt5
qmake
nmake release
nmake release-install
popd


rem Build QScintilla python wrapper
pushd %QSCINTILLADIR%\Python
"%MAYA_LOCATION%\bin\mayapy" configure.py --pyqt=PyQt5 --sip %QTDIR%\Python\sip.exe
nmake
nmake install
popd

I added these lines to setup.bat:

set QSCINTILLAVERSION=2.10.1
set QSCINTILLADIR=%BUILDDRIVE%\QScintilla_gpl-%QSCINTILLAVERSION%

@iamsleepy
Copy link
Collaborator

I think we'll make the scripts only for building PyQt5 and sip right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants