Results 1 to 2 of 2

Thread: ui widget erro:warning

  1. #1
    Join Date
    Feb 2012
    Location
    Armenia/Yerevan
    Posts
    400
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11
    Thanks
    15
    Thanked 16 Times in 15 Posts

    Default ui widget erro:warning

    I am creating some new Dialogue boxes in my project using ui designer. When I run the project, I get the following
    error:warnings:
    Qt Code:
    1. dialog_cam_wd.ui:-1: error: Warning: Z-order assignment: 'gridLayoutWidget' is not a valid widget.
    2. dialog_cam_wd.ui:-1: error: Warning: Z-order assignment: 'horizontalLayoutWidget' is not a valid widget.
    3. dialog_cam_wd.ui:-1: error: Warning: Z-order assignment: 'horizontalSpacer' is not a valid widget.
    To copy to clipboard, switch view to plain text mode 

    How can I fix it?

  2. #2

    Default Re: ui widget erro:warning

    You just have to edit your ui file, delete these lines :

    <zorder>gridLayoutWidget</zorder>
    <zorder>horizontalLayoutWidget</zorder>
    <zorder>horizontalSpacer</zorder>

    Layout are not widget, that's why you can't edit order ... (eg deginer -> edit tab order ..)

Similar Threads

  1. erro code undeclared With timer
    By arninio123 in forum Newbie
    Replies: 9
    Last Post: 7th March 2012, 07:43
  2. hello.qt make erro!
    By soliveira in forum Newbie
    Replies: 5
    Last Post: 11th February 2010, 02:48
  3. Warning Suppression
    By lexfridman in forum Qt Programming
    Replies: 0
    Last Post: 21st May 2008, 17:06
  4. warning
    By mickey in forum Newbie
    Replies: 5
    Last Post: 27th September 2006, 00:38
  5. warning
    By mickey in forum General Programming
    Replies: 1
    Last Post: 20th July 2006, 14:22

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
  •  
Qt is a trademark of The Qt Company.