Qt UI Different on different versions of linux
-
@SGaist Thanks for getting back to me! The new versions of Linux we are using is 6.7 and the older version was 6.2. Unfortunately, I cannot post any pictures of the software ;), but I can describe in detail the changes. For example in one QLabel, it was able to support 4 lines of text. However, the QLabel now cuts off a few words at the end. Furthermore, it looks as if the text throughout the entire project has changed. It looks crisper if that makes any sense. Button sizes have shifted - they've become wider and the spacing margins have changed all over. QMenu text originally fit, but now the words are cut off at the bottom. I apologize that I can't post any pictures, and I'm doing my best to recall the exact situation. Some coloration is also different. Could it perhaps be some of the CSS that used to change the QLabels. We utilize the setProperty() function when changed the attributes of labels, buttons, menus, etc. However, I just assumed that at the end of the day CSS colors are generally the same. I've never really posted on forums for support; however, this is a serious issue. I know there is a situation where you can do QApplication::setStyle(); however, I'm not sure that would solve the problem. I've seen where some people have tried setting the style to ("fusion"), but that never really worked. Any ideas would be much appreciated! Thanks again!
-
Do you mean Red Hat 6.7 ?
You can always show a dummy application before and after to show the differences.
So If I understand correctly you are using Qt's Style Sheet to customize your application ?
-
No it doesn't however that makes it clear that your style sheet is for Qt. Qt doesn't cover all CSS features.
Can you make a small sample application that shows the cutoff problem of QMenu ?
-
Glad you found out !
Can you give more details ?
-
Thanks for sharing !