[PyQt] pyqt4 installation

Phil Thompson phil at riverbankcomputing.com
Sat Mar 21 09:50:04 GMT 2015


On 20/03/2015 2:28 pm, Rafal Obrzud wrote:
> On 20/03/2015 8:41 am, Rafal Obrzud wrote:
>> Hi there,
>> 
>> 
>> 
>> Trying to build pyqt4-win-commercial-4.11.3 with VS2010 Express, the
>> building process is halted by the following warning:
>> 
>> 
>> 
>> NMAKE : warning U4006: special macro undefined : '$<'
>> 
>>                 C:\Qt\4.8.6.\bin\\moc.exe -o moc_translator.cpp
>> 
>> 
>> 
>> Is it a compiler issue?
> 
> What arguments did you pass to sip's configure.py?
> 
> Did you use PyQt's configure.py or configure-ng.py? What arguments did
> you pass to it?
> 
> What version of Python?
> 
> How did you build Qt?
> 
> Phil
> 
> 
> 
> 
> python: 2.7.9
> 
> The arguments to configure sip: configure.py -p win32-msvc2010
> 
> I used PyQt's configure.py -p win32-msvc2010
> 
> All executed from VS2010 Command Prompt

The -p argument to PyQt4's configure.py is not the same as sip's. (See 
the docs.)

Try...

     python configure-ng.py --spec win32-msvc2010

Phil


More information about the PyQt mailing list