Re: [PyQt] Cannot 'configure' PyQt4.9 before build on Linuxmint

2011-12-29 Thread Nico Dufort
Hmm, I'm puzzled then.  I have installed another virtual machine with
Fedora 16, and it gives the exact same error as I had under LinuxMint 12
and Xubuntu 11.10.  Each package was downloaded fresh and rebuilt for each
machine, with no special flag/option, just plain vanilla config/make.  I
had no problem earlier this year with older versions.

I'll check other forums if anyone has an idea of what the problem might be.
Thanks for your time.  Cheers.

On Wed, Dec 28, 2011 at 8:02 PM, Phil Thompson
p...@riverbankcomputing.comwrote:

 On Wed, 28 Dec 2011 15:18:05 +0100, Nico Dufort nduf...@gmail.com wrote:
  Hello Phil,
 
  I did a test with xubuntu on a virtual machine, and I ran into the exact
  same error.  I can try on a non-ubuntu/non-debian based environment when
 I
  have more time, but I would want to believe that someone else got this
  version to build.
 
 
  All my files were downloaded from their respective websites:
 
  Python 2.6.7: http://www.python.org/ftp/python/2.6.7/Python-2.6.7.tgz
  Sip 4.13.1:
 
 http://www.riverbankcomputing.com/static/Downloads/sip4/sip-4.13.1.tar.gz
  Qt 4.8.0:
 
 ftp://ftp.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.8.0.tar.gz
  PyQt 4.9:
 

 http://www.riverbankcomputing.com/static/Downloads/PyQt4/PyQt-x11-gpl-4.9.tar.gz
 
  Just for the sake of trying, I re-downloaded everything for both test
  environments, but that made no difference.  I do not think corruption is
 an
  issue.  Any suggestion as to what might be worth trying next?
  I got a hold of an older build of PyQt that meets my needs and works
 with
  Nuke, but I really would like to be able to build this one properly on
 my
  own, for the sake of getting it to work. =)

 Works fine for me under kubuntu. If this was a general problem I'd expect
 somebody else to have mentioned it by now.

 Phil




-- 
Attention, attention. Here and now, boys, the mynah repeated. Here and
now, boys.
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] Instant translation on PyQt 4.8.6

2011-12-29 Thread Phil Thompson
On Wed, 28 Dec 2011 19:30:10 +0200, ad...@mbnoimi.net wrote:
 On 21/12/2011 07:12 م, Phil Thompson wrote:  
 On Wed, 21 Dec 2011 19:03:56 +0200, ad...@mbnoimi.net [1] wrote:
 
 On 10/12/2011 03:15 م, Phil Thompson wrote: 
 On Sat, 10 Dec 2011 12:55:09 +0200, ad...@mbnoimi.net [2] [1] wrote:
 
 On 10/12/2011 12:47 م, Phil Thompson wrote: I think there might be a
 pyuic4 regression related to retranslation. What version were you using
 that seemed to work? Can you send me a .ui file that seems to have the
 problem? 
 
  By the way, I didn't face this problem with C++/Qt for same Qt version
 
 Thanks - will be fixed in tonight's snapshot.
  Did you fixed it? if yes is there any binary distro (I still unable to
 build snapshot on Windows :-( )?
 
 I said I'd fixed it. There will be a new binary release later this week.
 
 Phil
 
 This issue still exist in current version (PyQt-Py2.7-x86-gpl-4.9-1)

Then that implies that there is a second problem. Attached is the pyuic4
output from your .ui file. You need to provide a short complete test that
demonstrates any outstanding problem.

Phil# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'login.ui'
#
# Created: Thu Dec 29 10:06:41 2011
#  by: PyQt4 UI code generator 4.9
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
_fromUtf8 = lambda s: s

class Ui_LoginDialog(object):
def setupUi(self, LoginDialog):
LoginDialog.setObjectName(_fromUtf8(LoginDialog))
LoginDialog.setWindowModality(QtCore.Qt.WindowModal)
LoginDialog.resize(337, 308)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(LoginDialog.sizePolicy().hasHeightForWidth())
LoginDialog.setSizePolicy(sizePolicy)
LoginDialog.setMinimumSize(QtCore.QSize(200, 0))
LoginDialog.setMaximumSize(QtCore.QSize(449, 16777215))
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap(), QtGui.QIcon.Normal, QtGui.QIcon.Off)
LoginDialog.setWindowIcon(icon)
self.verticalLayout_2 = QtGui.QVBoxLayout(LoginDialog)
self.verticalLayout_2.setSpacing(1)
self.verticalLayout_2.setMargin(1)
self.verticalLayout_2.setObjectName(_fromUtf8(verticalLayout_2))
self.stackedWidget = QtGui.QStackedWidget(LoginDialog)
self.stackedWidget.setObjectName(_fromUtf8(stackedWidget))
self.page = QtGui.QWidget()
self.page.setObjectName(_fromUtf8(page))
self.verticalLayout = QtGui.QVBoxLayout(self.page)
self.verticalLayout.setSpacing(1)
self.verticalLayout.setMargin(1)
self.verticalLayout.setObjectName(_fromUtf8(verticalLayout))
self.label_login = QtGui.QLabel(self.page)
self.label_login.setPixmap(QtGui.QPixmap(_fromUtf8(:/ui/images/login.png)))
self.label_login.setScaledContents(True)
self.label_login.setObjectName(_fromUtf8(label_login))
self.verticalLayout.addWidget(self.label_login)
self.gridlayout = QtGui.QGridLayout()
self.gridlayout.setMargin(5)
self.gridlayout.setSpacing(6)
self.gridlayout.setObjectName(_fromUtf8(gridlayout))
self.uiUserName = QtGui.QLineEdit(self.page)
self.uiUserName.setObjectName(_fromUtf8(uiUserName))
self.gridlayout.addWidget(self.uiUserName, 0, 1, 1, 1)
self.label_4 = QtGui.QLabel(self.page)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_4.sizePolicy().hasHeightForWidth())
self.label_4.setSizePolicy(sizePolicy)
self.label_4.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.label_4.setObjectName(_fromUtf8(label_4))
self.gridlayout.addWidget(self.label_4, 1, 0, 1, 1)
self.uiPassword = QtGui.QLineEdit(self.page)
self.uiPassword.setEchoMode(QtGui.QLineEdit.Password)
self.uiPassword.setObjectName(_fromUtf8(uiPassword))
self.gridlayout.addWidget(self.uiPassword, 1, 1, 1, 1)
self.label_3 = QtGui.QLabel(self.page)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_3.sizePolicy().hasHeightForWidth())
self.label_3.setSizePolicy(sizePolicy)
self.label_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.label_3.setObjectName(_fromUtf8(label_3))
self.gridlayout.addWidget(self.label_3, 0, 0, 1, 1)
self.verticalLayout.addLayout(self.gridlayout)
 

Re: [PyQt] Cannot 'configure' PyQt4.9 before build on Linuxmint

2011-12-29 Thread Hans-Peter Jansen
On Thursday 29 December 2011, 10:48:21 Nico Dufort wrote:
 Hmm, I'm puzzled then.  I have installed another virtual machine with
 Fedora 16, and it gives the exact same error as I had under LinuxMint
 12 and Xubuntu 11.10.  Each package was downloaded fresh and rebuilt
 for each machine, with no special flag/option, just plain vanilla
 config/make.  I had no problem earlier this year with older versions.

 I'll check other forums if anyone has an idea of what the problem
 might be. Thanks for your time.  Cheers.

Start with deinstalling all packages of your distribution, that you're 
going to replace.

Pete


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


[PyQt] What's wrong with the tutorial on techbase?

2011-12-29 Thread heathmatlock
Any ideas on why this tutorial isn't working?
http://techbase.kde.org/Development/Tutorials/Plasma/PythonRunner
At the top in the build section, it says, For this example,
ourpackage will be called 'runner_msgbox'. But then in
themetadata.desktop file, it has this
line:X-KDE-PluginInfo-Name=msgbox_runner
In the function definition on line 7 of the code, it's missing acolon,
I fixed this in my code, and it still doesn't work. I thenrenamed the
directory to msgbox_runner, deleted the installed program,and
reinstalled. Still doesn't work. Others have verified this
in#kde-devel on Freenode.
-- 
Heath Matlock
+1 256 274 4225
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


Re: [PyQt] What's wrong with the tutorial on techbase?

2011-12-29 Thread heathmatlock
On Thu, Dec 29, 2011 at 7:15 PM, heathmatlock heathmatl...@gmail.com wrote:
 Any ideas on why this tutorial isn't working?
 http://techbase.kde.org/Development/Tutorials/Plasma/PythonRunner
 At the top in the build section, it says, For this example,
 ourpackage will be called 'runner_msgbox'. But then in
 themetadata.desktop file, it has this
 line:X-KDE-PluginInfo-Name=msgbox_runner
 In the function definition on line 7 of the code, it's missing acolon,
 I fixed this in my code, and it still doesn't work. I thenrenamed the
 directory to msgbox_runner, deleted the installed program,and
 reinstalled. Still doesn't work. Others have verified this
 in#kde-devel on Freenode.
 --
 Heath Matlock
 +1 256 274 4225

The runner isn't even starting:http://paste.kde.org/179432/raw/
-- 
Heath Matlock
+1 256 274 4225
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt