Qt mac: how the layout is different from other OS

Qt is a good structure that allows people to develop something once, and it will work for 3 main OS.

But from time to time there are some differences in the layout: the placement of some widgets does not have the same behavior as in Windows or Linux.

Have you observed any strange behavior? on which widgets? How did you fix this?

Thanks for sharing

+3
source share
2 answers

, , , , . ( , Mac OS X) QMainWindow , Mac OS X ( , Windows Linux). " " Qt

0

QPushButton:: setFlat (true), . , , mac. QLineEdit , mac.

Qt 4.6, QComboBox Mac ( , ). , , , .

, . , Mac , - , . Qt, , , , Mac Linux.

QGraphicsView mac, , . - Qt , QGraphicsView , , .

0

Source: https://habr.com/ru/post/1748826/


All Articles