Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Z-order Assignment: is not a valid widget.
Forum Update on Monday, May 27th 2025

Z-order Assignment: is not a valid widget.

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
5 Posts 3 Posters 3.9k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Keechu
    wrote on last edited by
    #1

    Hello Everyone,

    I'm making modifications in a code I've made some changes in ComboBox.
    After building the code, I am getting some issues (Snapshot Given). I;ve copied the code from another folder which was successfully building.

    I'm using Qt creator 5.6.1. Below are the changes that have been done and the issues snapshots.

    Previous Code:

    cbcae4da-c8de-4ab8-a1f3-d96170412456-image.png

    Modified Code:
    e5313666-6e1b-43b7-a474-3e44c55521f8-image.png

    Issues:

    39de5113-7112-4363-86bf-b68bd2a2592e-image.png

    Kindly provide a concrete solution to eliminate these issues.

    Regards,
    Arun

    JonBJ 1 Reply Last reply
    0
    • K Keechu

      Hello Everyone,

      I'm making modifications in a code I've made some changes in ComboBox.
      After building the code, I am getting some issues (Snapshot Given). I;ve copied the code from another folder which was successfully building.

      I'm using Qt creator 5.6.1. Below are the changes that have been done and the issues snapshots.

      Previous Code:

      cbcae4da-c8de-4ab8-a1f3-d96170412456-image.png

      Modified Code:
      e5313666-6e1b-43b7-a474-3e44c55521f8-image.png

      Issues:

      39de5113-7112-4363-86bf-b68bd2a2592e-image.png

      Kindly provide a concrete solution to eliminate these issues.

      Regards,
      Arun

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @Keechu
      I don't see any relationship between the warnings you show and the content in the screenshots. They're not even referring to the same file.

      1 Reply Last reply
      2
      • mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by mrjj
        #3

        Hi
        It seems you manually edited the UI file and removed the
        <widget class = "QCombo" and left the file in
        an invalid state/format. broken.

        Please just use Design Mode to edit UI files.

        1 Reply Last reply
        3
        • K Offline
          K Offline
          Keechu
          wrote on last edited by
          #4

          Yes, I had manually edited the .ui file . This time I made changes in the Design mode but was still getting the same warning.

          Warning:
          **warning: Z-order assignment: 'buttonBox_serial_parameters' is not a valid widget.

          I'm using this button Box as one of the widgets so it is a valid widget.

          I'm adding values in the ComboBox, after changing I'm getting this warnings.

          Before changing it was compiling normally, but after the changes were made I was getting the warnings.

          Please provide a solution for the same.

          Regards,
          Arun

          mrjjM 1 Reply Last reply
          0
          • K Keechu

            Yes, I had manually edited the .ui file . This time I made changes in the Design mode but was still getting the same warning.

            Warning:
            **warning: Z-order assignment: 'buttonBox_serial_parameters' is not a valid widget.

            I'm using this button Box as one of the widgets so it is a valid widget.

            I'm adding values in the ComboBox, after changing I'm getting this warnings.

            Before changing it was compiling normally, but after the changes were made I was getting the warnings.

            Please provide a solution for the same.

            Regards,
            Arun

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @Keechu
            Hi
            Did that UI come from some old project or how did it start life ?

            I think its still a bit broken then. Maybe you did edit it before you tried in designer ?

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved