Bug 192045

Summary: UI Compiler produces error with Qt Designer files
Product: [Developer tools] bindings Reporter: Cédric Belin <cedric>
Component: generalAssignee: kde-bindings
Status: RESOLVED NOT A BUG    
Severity: normal CC: arno
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Cédric Belin 2009-05-08 16:09:38 UTC
Version:           Qyoto 4.4 (libqyoto4.4-cil / package
4.2.2-0ubuntu2) (using KDE 4.2.2)
Compiler:          GMCS (Mono C# compiler) version 2.0.1.0 & UICS (Qt User Interface compiler) version 4.5.0 
OS:                Linux
Installed from:    Ubuntu Packages

The files produced by Qt Designer version 4.5.0 are incompatibles with UICS compiler version 4.5.0.

When I try to compile an .ui file with UICS, I obtain the following error :
"uics: File generated with too old version of Qt Designer
File 'MainWindow.ui' is not valid"

The .ui file contains an XML prolog (<?xml version="1.0" encoding="UTF-8"?>) that UICS don't understand.
If I remove the XML prolog, the compilation goes fine.

UICS should not produce error if XML prolog is present in .ui files. The dialect used by .ui files is plain XML.
Comment 1 Arno Rehn 2009-05-08 16:21:50 UTC
This is already fixed in trunk. Seems like we have to backport it.