Results 1 to 6 of 6

Thread: warning

  1. #1
    Join Date
    Jan 2006
    Posts
    976
    Thanks
    53
    Qt products
    Qt3
    Platforms
    Windows

    Default warning

    hi, what's these warnings?? thanks
    Qt Code:
    1. c:\Qt\4.1.4\bin\uic.exe mainwindow.ui -o ui\ui_mainwindow.h
    2. Warning: name widget is already used
    3. Warning: name widget is already used
    4. Warning: name widget is already used
    5. Warning: name widget is already used
    6. Warning: name widget is already used
    7. .......................................................
    To copy to clipboard, switch view to plain text mode 
    Regards

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: warning

    How many widgets called "name" do you have on that form?

  3. #3
    Join Date
    Jan 2006
    Posts
    976
    Thanks
    53
    Qt products
    Qt3
    Platforms
    Windows

    Default Re: warning

    I assume with 'called' you mean what in desinger is objectName; in this case I haven't widgets called 'name'; only thing with 'name' is the text of a qlabel but his name isn't 'name'....(I changed 'name' in 'nam' but the warning don't change..)
    Regards

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: warning

    I think the name in question is "widget" and not "name".

  5. #5
    Join Date
    Jan 2006
    Posts
    976
    Thanks
    53
    Qt products
    Qt3
    Platforms
    Windows

    Default Re: warning

    (sorry I haven't edit prevoius post because sometimes when I click edit, it seems thinks too long)
    --
    Problem is that: there was many 'widget' not 'name'; it happen eg, when I create a horizontally layout (eg for a qlabel an qlineedit) designer seems don't create a qlayout but a qwidget (so I had 4 QWidget called 'widget'...
    in the pic you can see I had to change name in 'widget1' but I had create a layout.....
    what happen???
    Attached Images Attached Images
    Regards

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: warning

    Quote Originally Posted by mickey View Post
    what happen???
    http://www.qtcentre.org/forum/f-qt-d...load-3686.html

Similar Threads

  1. warning
    By mickey in forum General Programming
    Replies: 1
    Last Post: 20th July 2006, 13:22
  2. how to corss compile for windows in Linux
    By safknw in forum Qt Programming
    Replies: 24
    Last Post: 13th May 2006, 05:23
  3. linking libraries
    By JustaStudent in forum Newbie
    Replies: 29
    Last Post: 2nd May 2006, 08:30
  4. a Text Editor with line numbers...
    By fullmetalcoder in forum Qt Programming
    Replies: 47
    Last Post: 5th April 2006, 11:10
  5. warning message on compile not understood
    By impeteperry in forum Qt Programming
    Replies: 13
    Last Post: 23rd January 2006, 23:36

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.