<div dir="ltr">Thanks for the offer Erik. I've moved on to Python 3.4 and building PyQt with Visual Studio 2010 though, as the application was crashing on me once frozen (by way of cx_Freeze). After making this move, the app stopped crashing (phew). I think we will stay with this combo.<div>
<br></div><div>Arve</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 19, 2014 at 5:03 PM, Erik Hvatum <span dir="ltr"><<a href="mailto:ice.rikh@gmail.com" target="_blank">ice.rikh@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>You're welcome to email it to me directly. Sharing it as a google doc or putting it on github would also work.</div>
<span class="HOEnZb"><font color="#888888"><div><br></div><div>-Erik</div></font></span><div><div class="h5"><div><br>On May 19, 2014, at 2:23, Arve Knudsen <<a href="mailto:arve.knudsen@gmail.com" target="_blank">arve.knudsen@gmail.com</a>> wrote:<br>
<br></div><blockquote type="cite"><div><div dir="ltr">The resulting file is too large to submit to pastebin (~3 MB). Should I send it by way of an attachment instead, or perhaps someone could help me analyze the pre-processed source?<div>
<br></div><div>Arve<div class="gmail_extra">
<br><div class="gmail_quote">On Fri, May 16, 2014 at 7:50 PM, Erik H <span dir="ltr"><<a href="mailto:ice.rikh@gmail.com" target="_blank">ice.rikh@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div>Hi Arve,<br><br>The preprocessed code for the offending line would be helpful. QOPENGLF_APIENTRYP is defined through a lot of preprocessor logic in QtGui/qopengl.h. Presumably something is going wrong in there and you are ending up with a bogus QOPENGLF_APIENTRYP.<br>
<br></div><div>Stick a -E on the end of that g++ command, run it manually, and sipQtGuiQAbstractTextDocumentLayoutSelection.o will contain a whole mess of preprocessed code that you can put on pastebin and link to us (if you would like a hand sorting through it).<br>
</div><div><br></div></div>Regards,<br>Erik<br></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Fri, May 16, 2014 at 9:03 AM, Arve Knudsen <span dir="ltr"><<a href="mailto:arve.knudsen@gmail.com" target="_blank">arve.knudsen@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hi guys<div><br></div><div>I am unable to build PyQt 5.2.1 with MinGW on Windows 8.1, against Qt 5.2.1, due to an OpenGL related compilation error. I configure and build like this:</div>
<div><br></div><div>python .\configure.py --spec win32-g++ --confirm-license --no-qml-plugin && mingw32-make<br>
</div><div><br></div><div>The build fails like this:</div><div><br></div><div><div>g++ -c -pipe -fno-keep-inline-dllexport -mstackrealign -fno-exceptions -O2 -Wall -Wextra -frtti -fexceptions -mthreads -DUNICODE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -I. -I"." -I"..\..\..\..\..\Python34\Include" -I"..\qpy\QtGui" -I"..\..\..\..\..\Qt\5.2.1\mingw48_32\include" -I"..\..\..\..\..\Qt\5.2.1\mingw48_32\include\QtGui" -I"..\..\..\..\..\Qt\5.2.1\mingw48_32\include\QtCore" -I"release" -I"..\..\..\..\..\Qt\5.2.1\mingw48_32\mkspecs\win32-g++" -o release\sipQtGuiQAbstractTextDocumentLayoutSelection.o sipQtGuiQAbstractTextDocumentLayoutSelection.cpp</div>
<div>In file included from ..\..\..\..\..\Qt\5.2.1\mingw48_32\include\QtGui/qopenglcontext.h:63:0,</div><div> from ..\..\..\..\..\Qt\5.2.1\mingw48_32\include\QtGui/QOpenGLContext:1,</div><div> from ..\qpy\QtGui/qpyopengl_api.h:31,</div>
<div> from C:\Users\arve.knudsen\Downloads\PyQt-gpl-5.2.1\sip/QtGui/qopenglshaderprogram.sip:333,</div><div> from sipQtGuicmodule.cpp:24:</div><div>..\..\..\..\..\Qt\5.2.1\mingw48_32\include/QtGui/qopenglversionfunctions.h:785:43: error: expected unqualified-id before ')' token</div>
<div> void (QOPENGLF_APIENTRYP MemoryBarrier)(GLbitfield barriers);</div><div> ^</div></div><div>Please help,</div><div>Arve</div></div>
<br></div></div>_______________________________________________<br>
PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com" target="_blank">PyQt@riverbankcomputing.com</a><br>
<a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br></blockquote></div><br></div>
</blockquote></div><br></div></div></div>
</div></blockquote></div></div></div><br>_______________________________________________<br>
PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br>
<a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br></blockquote></div><br></div>