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?
Forum Updated to NodeBB v4.3 + New Features

using Qpainter with widget?

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 4 Posters 245 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.
  • U Offline
    U Offline
    userrr
    wrote on 30 Oct 2024, 23:47 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

    J 1 Reply Last reply 31 Oct 2024, 06:26
    0
    • U userrr
      30 Oct 2024, 23:47

      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

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 31 Oct 2024, 06:26 last edited by
      #2

      @userrr QPainter is for widget applications, not QtQuick.

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

      G 1 Reply Last reply 31 Oct 2024, 10:20
      0
      • J jsulm
        31 Oct 2024, 06:26

        @userrr QPainter is for widget applications, not QtQuick.

        G Online
        G Online
        GrecKo
        Qt Champions 2018
        wrote on 31 Oct 2024, 10:20 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 31 Oct 2024, 11:39 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

          1/4

          30 Oct 2024, 23:47

          • Login

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