[PyQt] Failing to properly install/run Qt 5.8.0, / PyQt 5.7.1 / sip 4.19 / Python3.5 / macOS 10.12.2

Kevin Mcintyre kebin70 at gmail.com
Sun Jan 29 19:33:33 GMT 2017


that's awesome.  Was able to install 5.7.1 after removing the 2 offending
lines from sipQtCoreQt.cpp

Note that with 5.7.2 snapshot got an error saying SIP 4.19.1 was required,
and there didn't seem to be a snapshot for SIP so I opted for augmented
5.7.1.

On Sun, Jan 29, 2017 at 8:17 AM, Phil Thompson <phil at riverbankcomputing.com>
wrote:

> On 26 Jan 2017, at 10:42 am, Sjoerd Bergmans <s_j_o_e_r_d_97 at hotmail.com>
> wrote:
> >
> > Hi all,
> >
> > I am new to the mailinglist. I am trying the get the combination of Qt
> 5.8.0, / PyQt 5.7.1 / sip 4.19 / Python3.5 to work on my macOS 10.12.2
> (Sierra). I've run into several problems which I've explained in detail
> here at Ask Different.
> >
> > Some of the problems I've managed to solve, but there is one that keeps
> preventing me to properly install PyQt 5.7.1.
> >
> > Once I run the command:
> >
> > python3.5 configure.py --destdir /Library/Frameworks/Python.
> framework/Versions/3.5/lib/python3.5/site-packages --qmake
> ~/Qt5.8.0/5.8/clang_64/bin/qmake
> >
> > And try to apple `make` afterwards, the make process crashes with the
> following error:
> >
> > ~/Downloads/PyQt5_gpl-5.7.1/QtCore/sipQtCoreQt.cpp:1093:62: error: no
> member named 'WindowCancelButtonHint' in namespace 'Qt'; did you mean
> >       'WindowCloseButtonHint'?
> >     {sipName_WindowCancelButtonHint, static_cast<int>(
> ::Qt::WindowCancelButtonHint), 419},
> >
> ~~~~~~^~~~~~~~~~~~~~~~~~~~~~
> >
> >
> >     WindowCloseButtonHint
> > ../../../Qt5.8.0/5.8/clang_64/lib/QtCore.framework/Headers/qnamespace.h:300:9:
> note: 'WindowCloseButtonHint' declared here
> >         WindowCloseButtonHint = 0x08000000,
> >         ^
> > ~/Downloads/PyQt5_gpl-5.7.1/QtCore/sipQtCoreQt.cpp:1106:58: error: no
> member named 'WindowOkButtonHint' in namespace 'Qt'
> >     {sipName_WindowOkButtonHint, static_cast<int>(
> ::Qt::WindowOkButtonHint), 419},
> >                                                    ~~~~~~^
> > 2 errors generated.
> > make[1]: *** [sipQtCoreQt.o] Error 1
> > make: *** [sub-QtCore-make_first-ordered] Error 2
> >
> >
> > I was advised there to contact this mailing list since one of the Ask
> Different users mentioned, in relation to my problem:
> >
> > "This is a known problem that will persist until Riverbank upgrades
> their software".
> >
> > I am hoping anyone on this list might confirm this diagnose and, if so,
> might have any idea on when to expect these updates?
>
> Tonight's snapshots should fully support Qt v5.8.0.
>
> Phil
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170129/e27f8beb/attachment.html>


More information about the PyQt mailing list