Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Some QtGui libraries that are in docs , compiler doesn't see [solved]
Forum Updated to NodeBB v4.3 + New Features

Some QtGui libraries that are in docs , compiler doesn't see [solved]

Scheduled Pinned Locked Moved Qt Creator and other tools
6 Posts 2 Posters 1.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    Vyivrain
    wrote on last edited by
    #1

    Hello I have a problem , that some QtGui libraries that are in docs , compiler doesn't see, f.e. QMotifStyle, QCDEStyle.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • V Offline
        V Offline
        Vyivrain
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          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.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • V Offline
            V Offline
            Vyivrain
            wrote on last edited by
            #5

            Oh yeah, I missed the clue word "Unix" =( my bad for not being attentive. Thx for answering.

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              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 :)

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved