Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

QVision Widget Error upon compile

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?

like image 876
Rek Avatar asked Jul 26 '11 14:07

Rek


2 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.

like image 185
Vlad Avatar answered Sep 28 '22 07:09

Vlad


OK, I had this, and it irked me too. I don't know what happened to cause this, but it is not serious. I suppose that breaking and remaking all the layouts might fix it. Other frameworks tend toward a lot of warnings, but tho I'm new to Qt, not a one yet. I went in another editor, and removed a line that said (as best I can remember):

<z-order>verticalSpacer</z-order> 

which was among a lot of other lines which also were z-order tags. I deleted the line with this tag, and rebuilt all. Problem gone. Interestingly enough, all of the z-order tags had vanished from my file when I looked at it next. It must be a bug, but evidently one of little consequence; except those who hate to see the serene beauty of Qt spoiled.

like image 23
Zathras Avatar answered Sep 28 '22 05:09

Zathras