[PyQt] pyuic 4.4.2 missing support for QFormLayout?

Håvard Gulldahl havard at lurtgjort.no
Thu Jul 10 17:09:51 BST 2008

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):
        self.gridLayout = QtGui.QGridLayout(Dialog)
Unknown Qt widget: QFormLayout

Is QFormLayout missing from pyuic, or is something wrong on my end?

Håvard Gulldahl <havard at gulldahl.no>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-formlayout.ui
Type: application/x-designer
Size: 1289 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080710/83457880/test-formlayout.bin

More information about the PyQt mailing list