QVision Widget Error upon compile

Viewed 20964

Only one error to go until I get to use this for my research!

Warning: Z-order assignment: " is not a valid widget.
FILE: qvvideoreaderblockwidget.ui

There's no line number that came with it. I tried finding but, failed to see an open-ended part.

What should I do to correctly compile this library?

6 Answers

Edit the ui file outside of Qt Creator. Delete the rows with 'zorder' tags. Then open in Qt Creator and compile again. It worked for me then perfectly, the warning did not appear any more.

This problem arises due to a (presently) unfixed bug in Qt Creator's undo / delete mechanism.

The solution until the bug is fixed is to:

  1. Close the .ui file in Qt Designer
  2. Open the .ui file in an external editor
  3. Delete the <zorder> line(s) that apply to the element with the problem. For example:

             <zorder>groupBox_2</zorder>
     
  4. Save the file
  5. Re-open the file in Qt Designer
  6. Re-compile in Qt
Related