Qt4-preview-feedback Archive, April 2007
Designer bug?
Message 1 in thread
Hi,
I wrote a program that compiled without errors using Qt 4.2.3 Open Source
for Windows; now I'm using the snapshot 20070424 of Qt 4.3.
If I modify the ui files using the Qt 4.3 Designer, I receive the following
error:
setIcon is not a member of QMainWindow.
I agree with the compiler: the problem, in my opinion, is that in the ui
file there is the following (wrong) line
<property name="icon" >
Instead of
<property name="windowIcon" >
Is this a bug of the Qt 4.3 Designer? How can I correct it?
Thank you very much for your attention.
Massimo
To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx
Message 2 in thread
Massimo Nespolo wrote:
> Hi,
> I wrote a program that compiled without errors using Qt 4.2.3 Open Source
> for Windows; now I'm using the snapshot 20070424 of Qt 4.3.
>
> If I modify the ui files using the Qt 4.3 Designer, I receive the following
> error:
>
> setIcon is not a member of QMainWindow.
>
> I agree with the compiler: the problem, in my opinion, is that in the ui
> file there is the following (wrong) line
>
> <property name="icon" >
>
> Instead of
>
> <property name="windowIcon" >
>
> Is this a bug of the Qt 4.3 Designer? How can I correct it?
Yes, this is a bug and will be fixed for 4.3.0. Looks like the only
workaround for now is to modify the ui file by hand.
Thanks for your report!
Girish
To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx