Qt custom look and feel?
问题 can I force my Qt application to use different look and feel just like it is done in KDE ? 回答1: You can always change styles of widgets using QApplication::setStyle. There are a few predefined options available in Qt4. In main.cpp do something like this #include <QPlastiqueStyle> int main(int argc, char *argv[]) { [...] QApplication::setStyle(new QPlastiqueStyle()); } This way your application will alwyas look the same on different OS. In my opinion Plastique looks better under windowsXP/2000