[PyQt] setCornerWidget for QMenuBar & build Snapshots

Phil Thompson phil at riverbankcomputing.com
Wed Dec 7 11:33:59 GMT 2011


On Wed, 07 Dec 2011 13:22:58 +0200, admin at mbnoimi.net wrote:
> On 06/12/2011 09:32 م, Phil Thompson wrote: Snapshots are only
> provided as source packages I tried to build the snapshots as following
but
> I failed... could you please help me in building process?
> 
>  Build steps:
> 
>  	* Downloaded sip-4.13.1-snapshot-82af71f0adcb
>  	* Configured SIP then built it
>  	* Downloaded PyQt-win-gpl-snapshot-4.9-aea28dc027e5
>  	* Configured PyQt
>  	* Downloaded NSIS
>  	* Run nsi
> 
> Here's builing logs: 
> 
> --- SIP --- 
> Microsoft Windows [Version 6.1.7601]
> Copyright (c) 2009 Microsoft Corporation. All rights reserved.
> 
> C:UsersmbnoimiDesktopsip-4.13.1-snapshot-82af71f0adcb>path
> PATH=C:Python27Libsite-packagesPyQt4;C:Python27Libsite-packages;C:QtSDK
> mingwbin;C:Python27Scripts;C:Python27;C:Program FilesNVIDIA CorporationP
> hysXCommon;C:Windowssystem32;C:Windows;C:WindowsSystem32Wbem;C:WindowsS
> ystem32WindowsPowerShellv1.0;C:Program Filesdoxygenbin;C:Program FilesWi
> nMerge;C:Program FilesBazaar;C:Program FilesMicrosoft SQL
Server100ToolsB
> inn;C:Program FilesMicrosoft SQL Server100DTSBinn
> 
> C:UsersmbnoimiDesktopsip-4.13.1-snapshot-82af71f0adcb>python
configure.py
> This is SIP 4.13.1-snapshot-82af71f0adcb for Python 2.7.2 on win32.
> The SIP code generator will be installed in C:Python27.
> The sip module will be installed in C:Python27Libsite-packages.
> The sip.h header file will be installed in C:Python27include.
> The default directory to install .sip files in is C:Python27sip.
> The platform/compiler configuration is win32-msvc2008.
> Creating siplibsip.h...
> Creating siplibsiplib.c...
> Creating siplibsiplib.sbf...
> Creating sipconfig.py...
> Creating top level Makefile...
> Creating sip code generator Makefile...
> Creating sip module Makefile...
> 
> C:UsersmbnoimiDesktopsip-4.13.1-snapshot-82af71f0adcb>python
configure.py
> --
> platform win32-g++
> This is SIP 4.13.1-snapshot-82af71f0adcb for Python 2.7.2 on win32.
> The SIP code generator will be installed in C:Python27.
> The sip module will be installed in C:Python27Libsite-packages.
> The sip.h header file will be installed in C:Python27include.
> The default directory to install .sip files in is C:Python27sip.
> The platform/compiler configuration is win32-g++.
> Creating siplibsip.h...
> Creating siplibsiplib.c...
> Creating siplibsiplib.sbf...
> Creating sipconfig.py...
> Creating top level Makefile...
> Creating sip code generator Makefile...
> Creating sip module Makefile...
> 
> C:UsersmbnoimiDesktopsip-4.13.1-snapshot-82af71f0adcb>minggw32-make
> 'minggw32-make' is not recognized as an internal or external command,
> operable program or batch file.
> 
> C:UsersmbnoimiDesktopsip-4.13.1-snapshot-82af71f0adcb>mingw32-make
> mingw32-make[1]: Entering directory
> `C:/Users/mbnoimi/Desktop/sip-4.13.1-snapsho
> t-82af71f0adcb/sipgen'
> makefile:29: warning: overriding commands for target `.c.o'
> makefile:26: warning: ignoring old commands for target `.c.o'
> gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -o main.o
> main.c
> gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -o
transform.o
> trans
> form.c
> gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -o gencode.o
> gencode
> .c
> gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -o
extracts.o
> extrac
> ts.c
> gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -o export.o
> export.c
> 
> gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -o heap.o
> heap.c
> gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -o parser.o
> parser.c
> 
> gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -o lexer.o
> lexer.c
> g++ -mthreads -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import
> -Wl,-enable-runt
> ime-pseudo-reloc -Wl,-subsystem,console -Wl,-s -o sip.exe main.o
> transform.o gen
> code.o extracts.o export.o heap.o parser.o lexer.o
> mingw32-make[1]: Leaving directory
> `C:/Users/mbnoimi/Desktop/sip-4.13.1-snapshot
> -82af71f0adcb/sipgen'
> mingw32-make[1]: Entering directory
> `C:/Users/mbnoimi/Desktop/sip-4.13.1-snapsho
> t-82af71f0adcb/siplib'
> makefile:29: warning: overriding commands for target `.c.o'
> makefile:26: warning: ignoring old commands for target `.c.o'
> gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I.
> -IC:Python27includ
> e -o siplib.o siplib.c
> gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I.
> -IC:Python27includ
> e -o apiversions.o apiversions.c
> gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I.
> -IC:Python27includ
> e -o descriptors.o descriptors.c
> gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I.
> -IC:Python27includ
> e -o qtlib.o qtlib.c
> gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I.
> -IC:Python27includ
> e -o threads.o threads.c
> gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I.
> -IC:Python27includ
> e -o objmap.o objmap.c
> gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I.
> -IC:Python27includ
> e -o voidptr.o voidptr.c
> g++ -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I.
> -IC:Python27includ
> e -o bool.o bool.cpp
> g++ -mthreads -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import
> -Wl,-enable-runt
> ime-pseudo-reloc -shared -Wl,-subsystem,console -Wl,-s -o sip.pyd
siplib.o
> apive
> rsions.o descriptors.o qtlib.o threads.o objmap.o voidptr.o bool.o
> -LC:Python27
> libs -lpython27
> mingw32-make[1]: Leaving directory
> `C:/Users/mbnoimi/Desktop/sip-4.13.1-snapshot
> -82af71f0adcb/siplib'
> 
> C:UsersmbnoimiDesktopsip-4.13.1-snapshot-82af71f0adcb>mingw32-make
install
> mingw32-make[1]: Entering directory
> `C:/Users/mbnoimi/Desktop/sip-4.13.1-snapsho
> t-82af71f0adcb/sipgen'
> makefile:29: warning: overriding commands for target `.c.o'
> makefile:26: warning: ignoring old commands for target `.c.o'
> copy /y sip.exe C:Python27sip.exe
>  1 file(s) copied.
> mingw32-make[1]: Leaving directory
> `C:/Users/mbnoimi/Desktop/sip-4.13.1-snapshot
> -82af71f0adcb/sipgen'
> mingw32-make[1]: Entering directory
> `C:/Users/mbnoimi/Desktop/sip-4.13.1-snapsho
> t-82af71f0adcb/siplib'
> makefile:29: warning: overriding commands for target `.c.o'
> makefile:26: warning: ignoring old commands for target `.c.o'
> copy /y sip.pyd C:Python27Libsite-packagessip.pyd
> The process cannot access the file because it is being used by another
> process.

...that's fairly self explanatory - seems you have a PyQt app running at
the time.

Phil


More information about the PyQt mailing list