[英]Using KDE style in pure Qt app under Windows
How can i use KDE style in pure Qt app's under Windows? 如何在Windows下的纯Qt应用程序中使用KDE样式?
Thanks 谢谢
From the command line, you can specify the style: 从命令行,您可以指定样式:
YourApp.exe -style plastique
I believe plastique is the default style for Qt/X11 applications running under KDE. 我相信plastique是在KDE下运行的Qt / X11应用程序的默认样式。
Within code, you can also use QApplication::setStyle
. 在代码中,您还可以使用
QApplication::setStyle
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.