Re: [PyQt] Help needed with SIP

2011-08-07 Thread Phil Thompson
On Sun, 7 Aug 2011 02:58:05 +0530, Vipul Raheja vipul.ii...@gmail.com
wrote:
 Hi,
 
 Thanks for your reply Phil.
 
 I had earlier installed SIP and PyQt4 through apt-get in Ubuntu, but was
 still getting the same problem since there was no QtGuimod.sip file
present
 on my system. I removed them and tried installing SIP and PyQt4 again
from
 their sources. I am getting the following error now while building PyQt4
 and
 cannot find any answers over the web : http://pastebin.com/apSq180u

You probably have bits of the older version of SIP still installed.

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


Re: [PyQt] Help needed with SIP

2011-08-07 Thread Vipul Raheja
Hi,

Thanks for your replies, Pete and Phil, I was able to fix the issues and
build PyQt on my system by doing a few rebuilds with changes in them. I had
earlier installed sip and PyQt using apt-get, but later I did the same by
directly building the sources, and it worked.

However, now I am facing a different issue. I was able to create a .so file
by executing configure.oy with python and doing a make and make install,
however, when I do an import of the library in python console, it gives me
this error: http://paste.debian.net/125358/ (I hope paste.debian is fine, if
not, kindly suggest an alternate way)

Here is my config.py file : http://paste.debian.net/125359/

Help will be greatly appreciated.

Thanks and regards,
Vipul Raheja


On Sun, Aug 7, 2011 at 4:22 AM, Hans-Peter Jansen h...@urpla.net wrote:

 On Saturday 06 August 2011, 23:28:05 Vipul Raheja wrote:
  Hi,
 
  Thanks for your reply Phil.
 
  I had earlier installed SIP and PyQt4 through apt-get in Ubuntu, but
  was still getting the same problem since there was no QtGuimod.sip
  file present on my system.

 Probably, your local sip/PyQt maintainer provides some matching -devel
 packages somewhere, since without these files, you cannot build any
 descendant packages ({python-}qscintilla, PyKDE, PyQwt, ..).

  I removed them and tried installing SIP
  and PyQt4 again from their sources. I am getting the following error
  now while building PyQt4 and cannot find any answers over the web :
  http://pastebin.com/apSq180u

 Don't provide build logs via paste bin services, please. When they
 vanish, followers by search engines will fail.

 This looks like the usual installed by packetmanager/from source
 dichotomy (for package sip in your case).

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

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

Re: [PyQt] desktop workspace

2011-08-07 Thread Baz Walter

On 06/08/11 23:59, Hans-Peter Jansen wrote:

On Saturday 06 August 2011, 01:35:55 emmanuel_mays...@lynceantech.com
wrote:

I am trying to save the geometry and and the workspace where the
application has been closed. Is there a way with Python/Qt to get the
info on the workspace number!?


While Arnold is generally right, there might be cases, where it is
useful. At least, you should take changing resolutions and # of
desktops into account..

I guess, the class QDesktopWidget provides, what you asked for.


i agree it's not obvious what the op might want to do with the workspace 
number once he's saved it. but in any case, i think QDesktopWidget only 
provides information about screens, not workspaces.

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