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. using Qpainter with widget?

using Qpainter with widget?

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 4 Posters 239 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.
  • U Offline
    U Offline
    userrr
    wrote on last edited by
    #1

    Hello! I'm new to qt and I want to use Qpainter in a GUI. Is the best option to use qt widget or qt quick? I really just need to do some simple stuff but I'd want Qpainter to work and be able to make something like selection menu for different parameters an a command line. Thanks in advance

    jsulmJ 1 Reply Last reply
    0
    • U userrr

      Hello! I'm new to qt and I want to use Qpainter in a GUI. Is the best option to use qt widget or qt quick? I really just need to do some simple stuff but I'd want Qpainter to work and be able to make something like selection menu for different parameters an a command line. Thanks in advance

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @userrr QPainter is for widget applications, not QtQuick.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      GrecKoG 1 Reply Last reply
      0
      • jsulmJ jsulm

        @userrr QPainter is for widget applications, not QtQuick.

        GrecKoG Offline
        GrecKoG Offline
        GrecKo
        Qt Champions 2018
        wrote on last edited by
        #3

        QPainter can be used in both QWidgets and Qt Quick. In Qt Quick it can be used with QQuickPaintedItem.

        1 Reply Last reply
        1
        • C Offline
          C Offline
          CPPUIX
          wrote on last edited by CPPUIX
          #4

          Hi,

          You'd most likely get better help if you specify exactly what you're working with and want achieved.

          What app are you trying to make?
          What's "some simple stuff" exactly?
          Why do you think QPainter is what you need?
          What platform are you targeting?

          I also have no idea what this means:

          selection menu for different parameters an a command line.

          but that's probably because I am dense.

          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