Discussion:
[qt-dev] QDesigner rejects large (or complex ?) ui files on OS/2
Jan van Wijk
2010-02-08 10:19:48 UTC
Permalink
Hi,

Not sure this is the right list, I tried to post to the 'user' list but trying
to submit the post gave an error about 'non existing list at gmane'.
(there are no posts there at all AFAICT :-)

I just installed the Qt4 4.51 WPI archives to check out QDesigner with some
existing Qt projects I have (created on Windows, using Qt 4.60).

Sofar I did not install the GCC compiler yet, just playing with the designer.

The very first project I tried, with one dialog, failed to load that dialog
with an error message stating the file was not a valid ui file, with additional
info saying:

++++++
An error has occurred while reading the ui file at line 1, column 2: Expected
'?', '!', or '[a-zA-Z]', but got '/'.
++++++

Of course those lines look fine in an editor, and the files works fine on
Windows as well as the MAC. A small dummy dialog created on OS/2 does read back
properly.

Testing the larger dialog by removing several widgets from the ui file, lead me
to believe there is some size constraint (or overflow bug). After removing
checkboxes one-by-one, the file became 'acceptable' when 4 of the 8 checkboxes
had been removed, and the file size went down from almost 9884 bytes to 8376.

I can supply the ui file when needed of course
(through email perhaps, or using TRAC ?)
Silvan Scherrer
2010-02-08 10:37:45 UTC
Permalink
Jan,

please open a ticket in trac, so it gets not lost at all.

thanks
Silvan
Post by Jan van Wijk
Hi,
Not sure this is the right list, I tried to post to the 'user' list but trying
to submit the post gave an error about 'non existing list at gmane'.
(there are no posts there at all AFAICT :-)
I just installed the Qt4 4.51 WPI archives to check out QDesigner with some
existing Qt projects I have (created on Windows, using Qt 4.60).
Sofar I did not install the GCC compiler yet, just playing with the designer.
The very first project I tried, with one dialog, failed to load that dialog
with an error message stating the file was not a valid ui file, with additional
++++++
An error has occurred while reading the ui file at line 1, column 2: Expected
'?', '!', or '[a-zA-Z]', but got '/'.
++++++
Of course those lines look fine in an editor, and the files works fine on
Windows as well as the MAC. A small dummy dialog created on OS/2 does read back
properly.
Testing the larger dialog by removing several widgets from the ui file, lead me
to believe there is some size constraint (or overflow bug). After removing
checkboxes one-by-one, the file became 'acceptable' when 4 of the 8 checkboxes
had been removed, and the file size went down from almost 9884 bytes to 8376.
I can supply the ui file when needed of course
(through email perhaps, or using TRAC ?)
---------------------------------------------------------------------
--
/Silvan Scherrer
AROA Informatik AG
Tel. +41 71 243 55 77
Fax +41 71 243 55 70
www.aroa.ch <http://www.aroa.ch> /
Dmitry A. Kuminov
2010-02-08 11:07:44 UTC
Permalink
Hi Jan,
Post by Jan van Wijk
The very first project I tried, with one dialog, failed to load that dialog
with an error message stating the file was not a valid ui file, with additional
[skip]
Post by Jan van Wijk
I can supply the ui file when needed of course
(through email perhaps, or using TRAC ?)
Thank you for the report, and please open a ticket as Silvan suggests. I will
look at it.
--
Keep cool,
dmik

* JID: dmik at jabber ru
Loading...