Re: [PyQt] Building PyQt to work with Qt5

2013-04-23 Thread Phil Thompson
On Mon, 22 Apr 2013 18:53:35 -0400, James Jong wrote: > When building/installing PyQt (from source or using pip), how do I specify > the path to the local Qt5 installation? > > I built Qt5 from source > (qt-everywhere-opensource-src-5.0.2.tar.gz

[PyQt] Building PyQt to work with Qt5

2013-04-22 Thread James Jong
When building/installing PyQt (from source or using pip), how do I specify the path to the local Qt5 installation? I built Qt5 from source (qt-everywhere-opensource-src-5.0.2.tar.gz) wit

Re: [PyQt] Building PyQt using gcc in Mingw and MSys

2013-03-11 Thread Phil Thompson
On Mon, 11 Mar 2013 11:22:45 +0200, Theuns Heydenrych wrote: > Thank for the reply Phil, > > I get a Windows Dialog that shows up that says "Python has stopped working" > and a button that shows the problem details. > Here is the info for that. > > *Problem signature:* > * Problem Event Name: A

Re: [PyQt] Building PyQt using gcc in Mingw and MSys

2013-03-11 Thread Theuns Heydenrych
Thank for the reply Phil, I get a Windows Dialog that shows up that says "Python has stopped working" and a button that shows the problem details. Here is the info for that. *Problem signature:* * Problem Event Name: APPCRASH* * Application Name: python.exe* * Application Version: 0.0.0.0* *

Re: [PyQt] Building PyQt using gcc in Mingw and MSys

2013-03-11 Thread Phil Thompson
On Mon, 11 Mar 2013 09:21:33 +0200, Theuns Heydenrych wrote: > Thanks Phil > I have taken MSys out of the loop. > Its only Mingw32 now. > > I get sip successfully compiled and installed. > When running python in the command line and i enter > * > * > *>>> from sip import ** > *>>> print SIP_VERSI

Re: [PyQt] Building PyQt using gcc in Mingw and MSys

2013-03-11 Thread Theuns Heydenrych
Thanks Phil I have taken MSys out of the loop. Its only Mingw32 now. I get sip successfully compiled and installed. When running python in the command line and i enter * * *>>> from sip import ** *>>> print SIP_VERSION_STR* *4.14.3 * *>>>* * * I also get PyQt-win-gpl-4.9.6 successfully compiled an

Re: [PyQt] Building PyQt using gcc in Mingw and MSys

2013-03-08 Thread Phil Thompson
On Fri, 8 Mar 2013 20:33:05 +0200, Theuns Heydenrych wrote: > HI > I successfully build Sip with gcc in mingw and Msys. > With the following command. > > *python ./configure.py -p win32-g++ --platform=linux-g++-64* > > It compiled and installed correctly with mingw32-make. The reason i used "* >

[PyQt] Building PyQt using gcc in Mingw and MSys

2013-03-08 Thread Theuns Heydenrych
HI I successfully build Sip with gcc in mingw and Msys. With the following command. *python ./configure.py -p win32-g++ --platform=linux-g++-64* It compiled and installed correctly with mingw32-make. The reason i used "* --platform=linux-g++-64*" is that the *python ./configure.py **-p win32-g++

Re: [PyQt] Building PyQt.

2012-07-07 Thread Detlev Offenbach
Hello, a much easier way to get PyQt4 running on Windows is to use the PyQt4 installer. With that you should be able to get eric installed within a couple of minutes. Please note, that eric5 needs Python3. If you want a Python2 setup please install eric4. Regards, Detlev On Thursday 05 July 2

[PyQt] Building PyQt.

2012-07-05 Thread Frank Drown
In an effort to install Eric IDE v5 on a 64 bit Windows 7 platform, I've installed Python 2.7.3 64bit, Qt 4.8.1, QScintilla 2.6.2, SIP 4.13.3. Now I am installing PyQt 4.9.4. I ran 'Python configure.py' without any apparent issues. When I tried to build PyQt by running 'nmake install', I get a low

Re: [PyQt] Building PyQT windows 7 64 bit QT 4.8.0

2012-01-22 Thread Teodor Calin Hanchevici
Hi, as I suspected, the QT distribution was incomplete. After rebuilding and reinstalling QT, Py-QT built fine. I wonder if would be possible to get more verbose/clearer error messages from sip? Thank you all Teodor On Thu, Jan 19, 2012 at 1:05 PM, wrote: > Nico, > In my case it seems that the Q

Re: [PyQt] Building PyQT windows 7 64 bit QT 4.8.0

2012-01-19 Thread calin . hanchevici
Nico, In my case it seems that the QT distribution was corrupted. I am rebuilding QT now and see what happens. After installing the headers and the binaries for QT VS2010 32 bit, I was able to generate everything. Still got into linking errors when I used the 64 bit QT. Teodor On , Nico D

Re: [PyQt] Building PyQT windows 7 64 bit QT 4.8.0

2012-01-19 Thread Nico Dufort
Teodor, I ran into a similar error but on QtDeclarative while trying to build against an older version of Python under Linux. Never could get the build to work even though I was using the freshly installed sip, not the system one. Gave up as I was getting nowhere after a few days of trying and I

Re: [PyQt] Building PyQT windows 7 64 bit QT 4.8.0

2012-01-19 Thread Phil Thompson
On Thu, 19 Jan 2012 09:16:19 -0500, Teodor Calin Hanchevici wrote: > Hi Phil, > > I doubt that this is the problem. I ran the following: Sorry, I mis-read your previous email. > C:\home\3rdparty\sources\PyQt-win-gpl-4.9>"C:\Python27\sip" -w -o -x > VendorID -t WS_WIN -x PyQt_OpenSSL -x PyQt_NoP

Re: [PyQt] Building PyQT windows 7 64 bit QT 4.8.0

2012-01-19 Thread Teodor Calin Hanchevici
Hi Phil, I doubt that this is the problem. I ran the following: C:\home\3rdparty\sources\PyQt-win-gpl-4.9>"C:\Python27\sip" -w -o -x VendorID -t WS_WIN -x PyQt_OpenSSL -x PyQt_NoPrintRangeBug -t Qt_4_8_0 -x Py_v3 -g -a QtNetwork.api -c C:\home\3rdparty\sources\PyQt-win-gpl-4.9\QtNetwork -b QtNetw

Re: [PyQt] Building PyQT windows 7 64 bit QT 4.8.0

2012-01-19 Thread Phil Thompson
On Wed, 18 Jan 2012 17:12:56 -0500, Teodor Calin Hanchevici wrote: > Hi Phil, > > I do have QGIS installed, and it comes with PyQT as well, however the > distribution is clean (the interpreter is not in the path and it is > installed in QGIS directory. I have renamed sip.exe from QGIS and tried >

Re: [PyQt] Building PyQT windows 7 64 bit QT 4.8.0

2012-01-18 Thread Teodor Calin Hanchevici
Hi Phil, I do have QGIS installed, and it comes with PyQT as well, however the distribution is clean (the interpreter is not in the path and it is installed in QGIS directory. I have renamed sip.exe from QGIS and tried again Creating the Makefile for the QtMultimedia module... Generating the C++

Re: [PyQt] Building PyQT windows 7 64 bit QT 4.8.0

2012-01-18 Thread Phil Thompson
On Wed, 18 Jan 2012 21:14:01 +, calin.hanchev...@gmail.com wrote: > Hi, > > I am trying to build PyQt-win-gpl-4.9 on Windows 7 professional 64 bit. I > have QT 4.8.0 and Python2.7 and 3.2 > I have downloaded and built sip-4.13.1. > > With both versions of python I get the following error: >

[PyQt] Building PyQT windows 7 64 bit QT 4.8.0

2012-01-18 Thread calin . hanchevici
Hi, I am trying to build PyQt-win-gpl-4.9 on Windows 7 professional 64 bit. I have QT 4.8.0 and Python2.7 and 3.2 I have downloaded and built sip-4.13.1. With both versions of python I get the following error: Generating the C++ source for the QtNetwork module... sip: __or__() unsupported fun

Re: [PyQt] building pyqt and qt.conf

2010-12-11 Thread Erik Janssens
ok, thanks ! my build script now temporary removes qt.conf when building pyqt... On Sat, Dec 11, 2010 at 5:35 PM, Phil Thompson wrote: > On Sat, 11 Dec 2010 14:31:08 +0100, Erik Janssens > wrote: >> Hi, >> >> I was trying to build the latest snapshot of PyQt and >> for a reason I don't understa

Re: [PyQt] building pyqt and qt.conf

2010-12-11 Thread Phil Thompson
On Sat, 11 Dec 2010 14:31:08 +0100, Erik Janssens wrote: > Hi, > > I was trying to build the latest snapshot of PyQt and > for a reason I don't understand, PyQt would always > build against QT installed on the system, despite pointing > it explicitly to a custom QT build using the -q option. > >

[PyQt] building pyqt and qt.conf

2010-12-11 Thread Erik Janssens
Hi, I was trying to build the latest snapshot of PyQt and for a reason I don't understand, PyQt would always build against QT installed on the system, despite pointing it explicitly to a custom QT build using the -q option. After many hours of looking, I found this was due to the fact that I had

Re: [PyQt] building pyqt on windows

2010-10-01 Thread Erik Janssens
yes indeed, I'm using MSVC2010. thanks for the warnings, I noticed too late that python itself is compiled with MSVC2008. I'm going to try to build everything from source, since I want to have full control over the stack, to be able to trace segfaults down. On Fri, 2010-10-01 at 09:00 +0100, Phi

Re: [PyQt] building pyqt on windows

2010-10-01 Thread Phil Thompson
On Fri, 01 Oct 2010 09:21:27 +0200, Erik Janssens wrote: > I made some changes to sipconfig.py to get it running... > > On Thu, 2010-09-30 at 22:26 +0100, Phil Thompson wrote: >> On Thu, 30 Sep 2010 23:19:24 +0200, Erik Janssens >> wrote: >> > Hi, >> > >> > I'm trying to build PyQt on Windows,

Re: [PyQt] building pyqt on windows

2010-09-30 Thread Phil Thompson
On Thu, 30 Sep 2010 23:19:24 +0200, Erik Janssens wrote: > Hi, > > I'm trying to build PyQt on Windows, because I want a QT 4.7 build > with OpenSSL included. And I try to build them all with the same > MS compiler, to be able to debug everything afterwards. > > So far OpenSSL, QT and SIP build

[PyQt] building pyqt on windows

2010-09-30 Thread Erik Janssens
Hi, I'm trying to build PyQt on Windows, because I want a QT 4.7 build with OpenSSL included. And I try to build them all with the same MS compiler, to be able to debug everything afterwards. So far OpenSSL, QT and SIP build fine, but when I try to configure PyQt, it only recognizes the QtCore m

Re: [PyQt] Building PyQt 4.7.4 with Qt 4.5.3 and Visual Studio 2005

2010-08-20 Thread Virgil Dupras
On Fri, Aug 20, 2010 at 1:21 PM, Virgil Dupras wrote: > On Fri, Aug 20, 2010 at 1:17 PM, Jiacun wu wrote: >> >> Hi, >> >> >> >> I have successfully built and installed release SIP 4.10.5 for Python 2.6.5 >> with MS VS 2005 on Windows XP. In my computer, Qt 4.5.3, which was built >> from open so

Re: [PyQt] Building PyQt 4.7.4 with Qt 4.5.3 and Visual Studio 2005

2010-08-20 Thread Virgil Dupras
On Fri, Aug 20, 2010 at 1:17 PM, Jiacun wu wrote: > > Hi, > > > > I have successfully built and installed release SIP 4.10.5 for Python 2.6.5 > with MS VS 2005 on Windows XP. In my computer, Qt 4.5.3, which was built from > open source with VS 2005, has already been installed. > > > > However, n

[PyQt] Building PyQt 4.7.4 with Qt 4.5.3 and Visual Studio 2005

2010-08-20 Thread Jiacun wu
Hi,   I have successfully built and installed release SIP 4.10.5 for Python 2.6.5 with MS VS 2005 on Windows XP. In my computer, Qt 4.5.3, which was built from open source with VS 2005, has already been installed.   However, now I am also trying to build the released source PyQt-win-gpl-4.7.4,

[PyQt] Building PyQt Debug on Windows

2009-12-18 Thread Brian Kelley
In case anyone is interested, here is a small python script that fixes the qt sources to properly finish a debug build after configure is run. This might save you a couple hours if you need to make debug versions. It appears that qpycore.lib should be dqpycore.lib and so on but configure misna

Re: [PyQt] Building PyQt on Windows

2009-09-18 Thread Jeremy Sanders
On Fri, 18 Sep 2009, Jeremy Sanders wrote: I should have tried that myself. That works fine. I now have a linker error for the SVG plugin for some reason. I had to add -lQtSvg in the link command line. I thought I had configured PyQt for SVG. Okay, this wasn't my fault. I did tell PyQt to c

Re: [PyQt] Building PyQt on Windows

2009-09-18 Thread Jeremy Sanders
On Fri, 18 Sep 2009, Phil Thompson wrote: On Fri, 18 Sep 2009 17:19:01 +0100 (BST), Jeremy Sanders wrote: What's the recommended compiler to use to compile Qt and PyQt on Windows? The free edition of Qt-4.5.2 builds very cleanly with mingw. I did a static build of Qt with mingw (gcc 3.4.5) on

Re: [PyQt] Building PyQt on Windows

2009-09-18 Thread Phil Thompson
On Fri, 18 Sep 2009 17:19:01 +0100 (BST), Jeremy Sanders wrote: > What's the recommended compiler to use to compile Qt and PyQt on Windows? > > The free edition of Qt-4.5.2 builds very cleanly with mingw. I did a > static build of Qt with mingw (gcc 3.4.5) on Windows XP. > > I downloaded the Py

[PyQt] Building PyQt on Windows

2009-09-18 Thread Jeremy Sanders
What's the recommended compiler to use to compile Qt and PyQt on Windows? The free edition of Qt-4.5.2 builds very cleanly with mingw. I did a static build of Qt with mingw (gcc 3.4.5) on Windows XP. I downloaded the Python 2.6.2 binary from the Python website and built the latest sip snapsho