KDE themes used to style Qt4 application
can kde themes be used to style multi platform (linux/windows开发者_StackOverflow) Qt4 applications ?
Yes, if you build/copy all dependencies.
This is not possible. Qt uses every platform's native API to render the widgets, hence platform specific themes cannot be applied on other platforms.
Since themes maybe third-party, it becomes more difficult.
If you're talking about Qt Styles(QStyle) that are used in traditional C++ KDE themes(non Plasma or ini themes) then yes you can do that to some extent, though you may have to adjust/fix some(or more) things since their mostly written with the KDE theme purpose in mind. One good example would be to fix or ensure the cross-platform compatibility(the theme might use additional platform specific libraries). Then there's also the licensing issue that you definitely have to take into consideration, since most of those themes are under GNU GPL.
If you're talking about Qt Stylesheets, you are out of luck, since currently KDE doesn't support any way of theming using Qt Stylesheets, thus you have no KDE Stylesheet themes to use.
精彩评论