[Qt-interest] How to fix "Warning: name layoutWidget is already used"?

K. Frank kfrank29.c at gmail.com
Tue Mar 16 18:26:51 CET 2010


Torrin -

Thanks.

On Tue, Mar 16, 2010 at 12:21 PM, Torrin Jones <tjones.job at gmail.com> wrote:
> On Mon, Mar 15, 2010 at 5:52 PM, K. Frank <kfrank29.c at gmail.com> wrote:
>>
>> Am I doing something wrong or have I broken something?  Or is this just an
>> innocuous glitch in designer that I can safely ignore?
>
> I think you can ignore it.  When this happens to us, I just change the name
> of the widget that is duplicate (by hand of course, but you can probably
> change it in designer).
> ...

I hand-edited the .ui file to give the four occurrences of "layoutWidget" unique
names.  The warnings are gone and nothing broke.  (And just ignoring the
warnings also worked...)


K. Frank




More information about the Qt-interest-old mailing list