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. Plotting a graph to QtQuick context with opengl
QtWS25 Last Chance

Plotting a graph to QtQuick context with opengl

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 2 Posters 456 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.
  • E Offline
    E Offline
    Eligijus
    wrote on last edited by
    #1

    Hello,
    I have no experience in qml or opengl and I want to write a basic graph plotting application. I have graph data in c++ and I want to paint it to QtQuick context. What "interface" should I use for best performance?
    My "interface" when using QPainter was QWidget and I draw lines void QPainter::drawLine(const QLineF & line).

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      You can reuse your QPainter code by using QQuickPaintedItem.

      Or you can use the QtCharts module.

      Or draw directly in OpenGL, but that would require learning it first.

      (Z(:^

      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