Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Why doesn't QGuiApplication have member function setStyle, but QApplication has?

Why doesn't QGuiApplication have member function setStyle, but QApplication has?

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 3 Posters 344 Views
  • 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.
  • jronaldJ Offline
    jronaldJ Offline
    jronald
    wrote on last edited by
    #1

    as title

    J.HilkJ JonBJ 2 Replies Last reply
    0
    • jronaldJ jronald

      as title

      J.HilkJ Offline
      J.HilkJ Offline
      J.Hilk
      Moderators
      wrote on last edited by
      #2

      @jronald because QApplication is the derivative of QGuiApplication and it was added in that class.


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      1 Reply Last reply
      2
      • jronaldJ jronald

        as title

        JonBJ Offline
        JonBJ Offline
        JonB
        wrote on last edited by
        #3

        @jronald
        QStyle is a part of/requires QWidgets, and QGuiApplication does not do widgets,

        1 Reply Last reply
        2

        • Login

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