[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] Failing to properly install/run Qt 5.8.0, / PyQt 5.7.1 / sip 4.19 / Python3.5 / macOS 10.
From:       Kevin Mcintyre <kebin70 () gmail ! com>
Date:       2017-01-29 19:33:33
Message-ID: CAA-sNEZ+yQ5rvUcTVRiiPBOqZLQy064Vq_EUdT3Qz4j-1omJGw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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@riverbankcomputing.com>
wrote:

> On 26 Jan 2017, at 10:42 am, Sjoerd Bergmans <s_j_o_e_r_d_97@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@riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt

[Attachment #5 (text/html)]

<div dir="ltr">that&#39;s awesome.   Was able to install 5.7.1 after removing the 2 \
offending lines from  <span style="font-size:12.8px">sipQtCoreQt.cpp</span><div><span \
style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Note \
that with 5.7.2 snapshot got an error saying SIP 4.19.1 was required, and there \
didn&#39;t seem to be a snapshot for SIP so I opted for augmented \
5.7.1.</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On \
Sun, Jan 29, 2017 at 8:17 AM, Phil Thompson <span dir="ltr">&lt;<a \
href="mailto:phil@riverbankcomputing.com" \
target="_blank">phil@riverbankcomputing.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">On 26 Jan 2017, at 10:42 am, Sjoerd Bergmans &lt;<a \
href="mailto:s_j_o_e_r_d_97@hotmail.com">s_j_o_e_r_d_97@hotmail.com</a>&gt; \
wrote:<br> &gt;<br>
&gt; Hi all,<br>
&gt;<br>
&gt; 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&#39;ve run \
into several problems which I&#39;ve explained in detail here at Ask Different.<br> \
&gt;<br> &gt; Some of the problems I&#39;ve managed to solve, but there is one that \
keeps preventing me to properly install PyQt 5.7.1.<br> &gt;<br>
&gt; Once I run the command:<br>
&gt;<br>
&gt; python3.5 configure.py --destdir \
/Library/Frameworks/Python.<wbr>framework/Versions/3.5/lib/<wbr>python3.5/site-packages \
--qmake ~/Qt5.8.0/5.8/clang_64/bin/<wbr>qmake<br> &gt;<br>
&gt; And try to apple `make` afterwards, the make process crashes with the following \
error:<br> &gt;<br>
&gt; ~/Downloads/PyQt5_gpl-5.7.1/<wbr>QtCore/sipQtCoreQt.cpp:1093:<wbr>62: error: no \
member named &#39;WindowCancelButtonHint&#39; in namespace &#39;Qt&#39;; did you \
mean<br> &gt;           &#39;WindowCloseButtonHint&#39;?<br>
&gt;        {sipName_<wbr>WindowCancelButtonHint, static_cast&lt;int&gt;( \
::Qt::WindowCancelButtonHint), 419},<br> &gt;                                         \
~~~~~~^~~~~~~~~~~~~~~~~~~~~~<br> &gt;<br>
&gt;<br>
&gt;        WindowCloseButtonHint<br>
&gt; ../../../Qt5.8.0/5.8/clang_64/<wbr>lib/QtCore.framework/Headers/<wbr>qnamespace.h:300:9: \
note: &#39;WindowCloseButtonHint&#39; declared here<br> &gt;              \
WindowCloseButtonHint = 0x08000000,<br> &gt;              ^<br>
&gt; ~/Downloads/PyQt5_gpl-5.7.1/<wbr>QtCore/sipQtCoreQt.cpp:1106:<wbr>58: error: no \
member named &#39;WindowOkButtonHint&#39; in namespace &#39;Qt&#39;<br> &gt;        \
{sipName_WindowOkButtonHint, static_cast&lt;int&gt;( ::Qt::WindowOkButtonHint), \
419},<br> &gt;                                                                        \
~~~~~~^<br> &gt; 2 errors generated.<br>
&gt; make[1]: *** [sipQtCoreQt.o] Error 1<br>
&gt; make: *** [sub-QtCore-make_first-<wbr>ordered] Error 2<br>
&gt;<br>
&gt;<br>
&gt; I was advised there to contact this mailing list since one of the Ask Different \
users mentioned, in relation to my problem:<br> &gt;<br>
&gt; &quot;This is a known problem that will persist until Riverbank upgrades their \
software&quot;.<br> &gt;<br>
&gt; I am hoping anyone on this list might confirm this diagnose and, if so, might \
have any idea on when to expect these updates?<br> <br>
Tonight&#39;s snapshots should fully support Qt v5.8.0.<br>
<br>
Phil<br>
______________________________<wbr>_________________<br>
PyQt mailing list      <a \
href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br> <a \
href="https://www.riverbankcomputing.com/mailman/listinfo/pyqt" rel="noreferrer" \
target="_blank">https://www.<wbr>riverbankcomputing.com/<wbr>mailman/listinfo/pyqt</a></blockquote></div><br></div>



[Attachment #6 (text/plain)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic