Bug 192045 - UI Compiler produces error with Qt Designer files
Summary: UI Compiler produces error with Qt Designer files
Status: RESOLVED NOT A BUG
Alias: None
Product: bindings
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kde-bindings
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-08 16:09 UTC by Cédric Belin
Modified: 2009-05-08 16:21 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.