Re: [PyQt] setCornerWidget for QMenuBar & build Snapshots

2011-12-10 Thread admin

  
  
On 10/12/2011 03:17 م, Phil Thompson wrote:
  Maybe not, but it's still related to your
installation. There was one
message that implied that the version of the Python header files
did not
match the version of the Python interpreter.

I downloaded today's latest snapshot but I got same problem!

  Python 2.7.2
  sip-4.13.1-snapshot-7ab562ae0e39
  
  PyQt-win-gpl-snapshot-4.9-aea28dc027e5



Do you know what if PyQt folks want to create a new release
  fixing setCornerWidget issue? Or I've to build the snapshot by
  myself.



-- 
Best Regards
Muhammad Bashir Al-Noimi
My Blog: http://mbnoimi.net
  

___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] setCornerWidget for QMenuBar & build Snapshots

2011-12-10 Thread Phil Thompson
On Sat, 10 Dec 2011 14:36:14 +0200, ad...@mbnoimi.net wrote:
> On 10/12/2011 02:03 م, Phil Thompson wrote:  Probably still something
> hanging around from your previous installation. I have retested this
> specific case in the last day or two without problems. I don't think
this
> related to previous installation because I installed fresh Windows
> installation (thank to VirtualBox :-D ).

Maybe not, but it's still related to your installation. There was one
message that implied that the version of the Python header files did not
match the version of the Python interpreter.

Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] setCornerWidget for QMenuBar & build Snapshots

2011-12-10 Thread admin

  
  
On 10/12/2011 02:03 م, Phil Thompson wrote:

  Probably still something hanging around from your previous
  installation. I
  have retested this specific case in the last day or two without
  problems.
I don't think this related to previous installation because I
installed fresh Windows installation (thank to VirtualBox :-D ).
-- 
Best Regards
Muhammad Bashir Al-Noimi
My Blog: http://mbnoimi.net
  

___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] setCornerWidget for QMenuBar & build Snapshots

2011-12-10 Thread Phil Thompson
On Sat, 10 Dec 2011 13:38:56 +0200, ad...@mbnoimi.net wrote:
> On 07/12/2011 01:33 م, Phil Thompson wrote: ...that's fairly self
> explanatory - seems you have a PyQt app running at the time. 
>  Thanks Phill,
> 
>  OH, my mistake I forgot to uninstall previous version. Any way I
> successfully built SIP but now I faced PyQt build issue as following
(you
> can see full build details through the attachments)
> 
> C:PyQt/sip/QtCore/qobject.sip: In function 'PyObject*
> meth_QTranslator_receivers(PyObject*, PyObject*)':
> C:PyQt/sip/QtCore/qobject.sip:675: error: expected type-specifier before
> 'sipQObject'
> C:PyQt/sip/QtCore/qobject.sip:675: error: expected '>' before
'sipQObject'
> C:PyQt/sip/QtCore/qobject.sip:675: error: expected '(' before
'sipQObject'
> C:PyQt/sip/QtCore/qobject.sip:675: error: 'sipQObject' was not declared
in
> this scope
> C:PyQt/sip/QtCore/qobject.sip:675: error: expected primary-expression
> before '>' token
> mingw32-make[1]: *** [sipQtCoreQTranslator.o] Error 1
> mingw32-make: *** [all] Error 2

Probably still something hanging around from your previous installation. I
have retested this specific case in the last day or two without problems.

Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] setCornerWidget for QMenuBar & build Snapshots

2011-12-07 Thread Phil Thompson
On Wed, 07 Dec 2011 13:22:58 +0200, ad...@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_LARG

Re: [PyQt] setCornerWidget for QMenuBar & build Snapshots

2011-12-07 Thread admin

  
  
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:\Users\mbnoimi\Desktop\sip-4.13.1-snapshot-82af71f0adcb>path
PATH=C:\Python27\Lib\site-packages\PyQt4;C:\Python27\Lib\site-packages\;C:\QtSDK
\mingw\bin;C:\Python27\Scripts;C:\Python27;C:\Program Files\NVIDIA Corporation\P
hysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\S
ystem32\WindowsPowerShell\v1.0\;C:\Program Files\doxygen\bin;C:\Program Files\Wi
nMerge;C:\Program Files\Bazaar;C:\Program Files\Microsoft SQL Server\100\Tools\B
inn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\

C:\Users\mbnoimi\Desktop\sip-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:\Python27\Lib\site-packages.
The sip.h header file will be installed in C:\Python27\include.
The default directory to install .sip files in is C:\Python27\sip.
The platform/compiler configuration is win32-msvc2008.
Creating siplib\sip.h...
Creating siplib\siplib.c...
Creating siplib\siplib.sbf...
Creating sipconfig.py...
Creating top level Makefile...
Creating sip code generator Makefile...
Creating sip module Makefile...

C:\Users\mbnoimi\Desktop\sip-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:\Python27\Lib\site-packages.
The sip.h header file will be installed in C:\Python27\include.
The default directory to install .sip files in is C:\Python27\sip.
The platform/compiler configuration is win32-g++.
Creating siplib\sip.h...
Creating siplib\siplib.c...
Creating siplib\siplib.sbf...
Creating sipconfig.py...
Creating top level Makefile...
Creating sip code generator Makefile...
Creating sip module Makefile...

C:\Users\mbnoimi\Desktop\sip-4.13.1-snapshot-82af71f0adcb>minggw32-make
'minggw32-make' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\mbnoimi\Desktop\sip-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:\Python27\includ
e -o siplib.o siplib.c
gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -IC:\Python27\includ
e -o apiversions.o apiversions.c
gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -IC:\Python27\includ
e -o descriptors.o descriptors.c
gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -IC:\Python27\includ
e -o qtlib.o qtlib.c
gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -IC:\Python27\includ
e -o threads.o threads.c
gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -IC:\Python27\includ
e -o objmap.o objmap.c
gcc -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -IC:\Python27\includ
e -o voidptr.o voidptr.c
g++ -c -O2 -w -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -I. -IC:\Python27\includ
e -o bool.o bool.cpp
g

Re: [PyQt] setCornerWidget for QMenuBar

2011-12-06 Thread Phil Thompson
On Tue, 06 Dec 2011 19:54:20 +0200, ad...@mbnoimi.net wrote:
> On 06/12/2011 07:54 م, Phil Thompson wrote:  
> It's fixed in the current snapshot.
> 
>  Thx Phil
> 
>  Do I need to build the snapshot or it's available as Windows binary
> somewhere?

Snapshots are only provided as source packages.

Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] setCornerWidget for QMenuBar

2011-12-06 Thread admin

  
  
On 06/12/2011 07:54 م, Phil Thompson wrote:

  It's fixed in the current snapshot.


Thx Phil

Do I need to build the snapshot or it's available as Windows binary
somewhere?

-- 
Best Regards
Muhammad Bashir Al-Noimi
My Blog: http://mbnoimi.net
  

___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] setCornerWidget for QMenuBar

2011-12-06 Thread Phil Thompson
On Tue, 06 Dec 2011 19:36:25 +0200, ad...@mbnoimi.net wrote:
> Hi PyQt Gurus, 
> 
> I tried to use setCornerWidget in QMenuBar but I got a compiler error as
> mentioned below: 
> 
> Does QMenuBar supports Corner Widget?
> 
> ---log--- 
> 
> AttributeError "QMenuBar" object no attribute "setCornerWidget"
> 
> -

It's fixed in the current snapshot.

Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


[PyQt] setCornerWidget for QMenuBar

2011-12-06 Thread admin

  
  
Hi PyQt Gurus,


I tried to use setCornerWidget in QMenuBar but I got a compiler
  error as mentioned below:


Does QMenuBar supports Corner Widget?



---log---
AttributeError "QMenuBar" object no attribute "setCornerWidget"

-



-- 
Best Regards
Muhammad Bashir Al-Noimi
My Blog: http://mbnoimi.net
  

___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt