Some QtGui libraries that are in docs , compiler doesn't see [solved]
-
Hello I have a problem , that some QtGui libraries that are in docs , compiler doesn't see, f.e. QMotifStyle, QCDEStyle.
-
Hi and welcome to devnet,
Are you using a unix platform ?
Not all Qt classes/functions are available on all platforms, some are platform specific
-
Thx for welcomin :), I'm using Windows, yeah I know that some functions are platform dependent, but as I see at least they say something like it's embedded in Linux, or we have something like Mac in function name. But examples said at the top, doesn't have references to any platforms.
-
By default, Qt's shipped with the style(s) that goes with your OS (e.g. QMacStyle). The doc says that QMotifStyle is for unix and QCDEStyle inherits from it thus they won't be available by default on windows.
You can however build the additional styles to try use them if you really want to.
-
Oh yeah, I missed the clue word "Unix" =( my bad for not being attentive. Thx for answering.
-
That can happen ;)
You're welcome !
If this answers your question, please update the thread title prepending [solved] so other forum users may know a solution has been found :)