[PyQt] [metasip] problem to run

2013-04-02 Thread Tomas Neverdauskas
Hello, i've installed from source control newest version of metasip in ubuntu with setup.py install Software list: python 3.2, pyqt4 with sip (from default ubuntu repo), dip-0.4.4, gcc-xml0.9 I like to generate python bindings for this project: https://github.com/wang-bin/QtAV/ But after

Re: [PyQt] [metasip] problem to run

2013-04-02 Thread Tomas Neverdauskas
I feel a shame myself :( because i didn't created project file (this is first time with this tool, so as the workflow) Run into another problem, after execution of msip GUI got this error: http://i.imgur.com/xVSI759.png 2013/4/2 Phil Thompson p...@riverbankcomputing.com On Tue, 2 Apr 2013

Re: [PyQt] [metasip] problem to run

2013-04-02 Thread Tomas Neverdauskas
For young players as me :) do not forget apt-get install pyqt4-dev-tools and make install metasip !!! Now the tool runs. Thank you Phil ! Still - small tutorial how to run would be nice :) I've created new header file and tried scan, but nothing happens. http://i.imgur.com/v3bBYWF.png

[PyQt] Qscintilla api location in PyQt4

2013-04-02 Thread William Kyngesburye
A bit of a discrepancy in API locations: In the Qscintilla source, the default location to place the API files is QT_INSTALL_DATA/qsci, for both the Qscintilla library compilation and the Qsci PyQt module compilation. In the PyQt source, the default location for the API files is QTDIR/qsci

[PyQt] python3, locale aware sorting

2013-04-02 Thread Martin Zibricky
Hi all, we are moving our code base to python3 and for python3 there is not available QString anymore. We used the function QString.localeAwareCompare() for sorting strings. However, with python3 we cannot use that function from QString anymore. Is there any way to use localeAwareCompare()

[PyQt] Qt message handler has wrong signature with Qt5

2013-04-02 Thread Baz Walter
Hello For Qt4, QtCore.qInstallMsgHandler installs a Qt message handler with the following signature: void myMsgHandler(QtMsgType, const char *); Using PyQt4 with Qt4, this correctly results in the second argument being passed as a python bytes object (for both the v1 and v2 apis).

Re: [PyQt] Qscintilla api location in PyQt4

2013-04-02 Thread Phil Thompson
On Tue, 2 Apr 2013 12:28:54 -0500, William Kyngesburye wokl...@kyngchaos.com wrote: A bit of a discrepancy in API locations: In the Qscintilla source, the default location to place the API files is QT_INSTALL_DATA/qsci, for both the Qscintilla library compilation and the Qsci PyQt module

Re: [PyQt] [metasip] problem to run

2013-04-02 Thread Phil Thompson
On Tue, 2 Apr 2013 16:42:48 +0300, Tomas Neverdauskas topa...@gmail.com wrote: After trying different options, i ended up with this (all options the same as included in previous screenshot) Traceback (most recent call last): File

Re: [PyQt] Qscintilla api location in PyQt4

2013-04-02 Thread William Kyngesburye
On Apr 2, 2013, at 6:44 PM, Phil Thompson wrote: On Tue, 2 Apr 2013 12:28:54 -0500, William Kyngesburye wokl...@kyngchaos.com wrote: A bit of a discrepancy in API locations: In the Qscintilla source, the default location to place the API files is QT_INSTALL_DATA/qsci, for both the

Re: [PyQt] Qt message handler has wrong signature with Qt5

2013-04-02 Thread Phil Thompson
On Wed, 03 Apr 2013 00:16:49 +0100, Baz Walter baz...@ftml.net wrote: Hello For Qt4, QtCore.qInstallMsgHandler installs a Qt message handler with the following signature: void myMsgHandler(QtMsgType, const char *); Using PyQt4 with Qt4, this correctly results in the second

Re: [PyQt] Qscintilla api location in PyQt4

2013-04-02 Thread Phil Thompson
On Tue, 2 Apr 2013 19:04:38 -0500, William Kyngesburye wokl...@kyngchaos.com wrote: On Apr 2, 2013, at 6:44 PM, Phil Thompson wrote: On Tue, 2 Apr 2013 12:28:54 -0500, William Kyngesburye wokl...@kyngchaos.com wrote: A bit of a discrepancy in API locations: In the Qscintilla source, the

Re: [PyQt] Qscintilla api location in PyQt4

2013-04-02 Thread William Kyngesburye
On Apr 2, 2013, at 7:23 PM, Phil Thompson wrote: On Tue, 2 Apr 2013 19:04:38 -0500, William Kyngesburye wokl...@kyngchaos.com wrote: On Apr 2, 2013, at 6:44 PM, Phil Thompson wrote: On Tue, 2 Apr 2013 12:28:54 -0500, William Kyngesburye wokl...@kyngchaos.com wrote: A bit of a discrepancy

Re: [PyQt] Qt message handler has wrong signature with Qt5

2013-04-02 Thread Baz Walter
On 03/04/13 01:17, Phil Thompson wrote: On Wed, 03 Apr 2013 00:16:49 +0100, Baz Walter baz...@ftml.net wrote: Hello For Qt4, QtCore.qInstallMsgHandler installs a Qt message handler with the following signature: void myMsgHandler(QtMsgType, const char *); Using PyQt4 with Qt4, this

[PyQt] Displaying a dialog

2013-04-02 Thread Phil
Thank you for reading this. The following is the main window class generated by Eric, which includes a method to display a dialog. from PyQt4.QtGui import QMainWindow from PyQt4.QtCore import pyqtSignature from Ui_mainwindow import Ui_MainWindow from PyQt4 import QtGui from