I have a cross-platform Qt application, and no matter how I set up the user interface, it always looks good on some platforms and poor on others, due to differences between the user interface styles.
For example, fields appear to be universal, even if the underlying elements change dramatically from one platform to another.
What is the recommended way to handle this?
, . qt css. , , (.. ResizeEvent (...), , , ..). Qt Docs, . , , :
enum QSizePolicy:: Policy
.. ...
, QWindowsStyle, QWindowsXPStyle, QPlastiqueStyle.
void QApplication::setStyle ( QStyle * style ) [static]
, .