Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QML performance concerns

QML performance concerns

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
qml profiler
3 Posts 2 Posters 686 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.
  • R Offline
    R Offline
    RickF
    wrote on 19 Feb 2019, 05:28 last edited by
    #1

    I have a lot of experience developing desktop apps for medical and scientific apps using Qt and VTK, OpenGL, and CUDA.

    These include "real time" image guided surgery etc.

    I now am trying to figure out if Qt quick will be useful fir a tablet ( Android, iOS ) for displyonh brain waves in pseudo real time coming in over WiFi.

    A little googling and research says to me NO. QML is great for the UI, but not for drawing thousands of points ( with smoothing, etc).

    Am I right?

    The ( old school?) way I would do this is have a timer fire 30 FPS to draw each view ( I need to draw 6 or more wave forms) .

    I would love to use Qt mobile forthis but I'm wary...can someone give me some advice?

    Thanks!

    Rick

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 19 Feb 2019, 07:19 last edited by
      #2

      QtWidgets still work on iOS and Android, so you can go with them - no problem.

      As for QML drawing - indeed, drawing thousands of points is not going to be fast in "plain" QML. But there are many ways to address that:

      • use QQuickPaintedItem - there you can paint anything with QPainter, like in the old days ;-)
      • use QQuickItem and draw pre-rendered textures with your points
      • use QQuickItem and draw using OpenGL / Vulkan / whatever - probably the fastest, but also hardest to do

      (Z(:^

      1 Reply Last reply
      3
      • S Offline
        S Offline
        sierdzio
        Moderators
        wrote on 19 Feb 2019, 07:27 last edited by
        #3

        Ah, I forgot. There is also QNanoPainter: https://github.com/QUItCoding/qnanopainter Haven't tried it myself, but I've heard a lot of good opinions about it.

        (Z(:^

        1 Reply Last reply
        1

        3/3

        19 Feb 2019, 07:27

        • Login

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