[PyQt] pyuic 4.4.2 missing support for QFormLayout?
Phil Thompson
phil at riverbankcomputing.com
Mon Jul 14 15:58:08 BST 2008
On Thu, 10 Jul 2008 18:09:51 +0200, "Håvard Gulldahl"
<havard at lurtgjort.no> wrote:
> Hello, all,
>
> I'm running:
>
> $ pyuic4 --version: Python User Interface Compiler 4.4.2 for Qt version
> 4.4.0
> $ dpkg -l pyqt4-dev-tools: 4.4.2-0ubuntu2
>
>
> and it borks out on the attached .ui file with the following error
> message:
>
> $ pyuic4 /tmp/test-formlayout.ui
> # -*- coding: utf-8 -*-
>
> # Form implementation generated from reading ui file
> '/tmp/test-formlayout.ui'
> #
> # Created: Thu Jul 10 16:29:00 2008
> # by: PyQt4 UI code generator 4.4.2
> #
> # WARNING! All changes made in this file will be lost!
>
> from PyQt4 import QtCore, QtGui
>
> class Ui_Dialog(object):
> def setupUi(self, Dialog):
> Dialog.setObjectName("Dialog")
> Dialog.resize(269,125)
> self.gridLayout = QtGui.QGridLayout(Dialog)
> self.gridLayout.setObjectName("gridLayout")
> Unknown Qt widget: QFormLayout
>
>
>
> Is QFormLayout missing from pyuic, or is something wrong on my end?
The current snapshot should be Ok.
Phil
More information about the PyQt
mailing list