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. Material design without QML
Qt 6.11 is out! See what's new in the release blog

Material design without QML

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 1.4k Views 3 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.
  • E Offline
    E Offline
    enne9
    wrote on last edited by
    #1

    Hello,
    I have a Qt GUI application that I developed using c++ (no QML).
    I was trying to apply material style according to this (https://doc.qt.io/qt-5/qtquickcontrols2-styles.html) but I think it is only for QML.
    How can I easily apply material design?
    Thanks

    1 Reply Last reply
    1
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      Material styles are not available for QWidgets.
      But i found this on the net that was quite nice
      https://github.com/laserpants/qt-material-widgets

      1 Reply Last reply
      1
      • E Offline
        E Offline
        enne9
        wrote on last edited by
        #3

        Thank you.
        Do you know if there is an easy way to use the build-in one available in QML?

        mrjjM 1 Reply Last reply
        0
        • E enne9

          Thank you.
          Do you know if there is an easy way to use the build-in one available in QML?

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by mrjj
          #4

          @enne9
          hi
          As far as i know, build-ins can only be used with a QML app. for the QMl elements.
          Will not have any effect on QWidgets as they are entirely another beast.

          Or do you mean to use the build-ins IN QML ?

          1 Reply Last reply
          0
          • RokeJulianLockhartR Offline
            RokeJulianLockhartR Offline
            RokeJulianLockhart
            wrote on last edited by
            #5

            @enne9, forum.qt.io/post/506686 is an older thread that discusses this.

            When using a forum, remember to tag the person you are responding to, in case they are not subscribed to the thread.

            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