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

Phil Thompson phil at riverbankcomputing.com
Sun Jan 29 16:17:56 GMT 2017


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


More information about the PyQt mailing list