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. Qt Drawing functions for a C# developer
Qt 6.11 is out! See what's new in the release blog

Qt Drawing functions for a C# developer

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.5k 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.
  • T Offline
    T Offline
    thatvector27
    wrote on last edited by
    #1

    Hi,
    I am more experienced with C#/Microsoft .NET with GDI+ drawing functions, but I wanted to perform the same tasks with Qt. Is it possible to have the same drawing functionality as .NET along with a smooth refresh.

    Since I am not great at C++, I am still grasping the concepts of the Qt library structure.

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

      For drawing in Qt, you may take a look at:

      • QPainter
      • QGraphicsView
      • QOpenGl* (or older QGLWidget)
      • QtQuick
      • Qt3D (this is still not ready, but will be included in Qt 5.3)

      (Z(:^

      1 Reply Last reply
      0
      • T Offline
        T Offline
        thatvector27
        wrote on last edited by
        #3

        Thanks for the fast reply,
        Although I'm not great at c++, these libraries look useful enough to replicate the GDI+ drawing functions. At the moment, I will be focussing on 2D drawing rather than 3D.

        I guess Qt is OK to learn, but it has taken a long learning process from the world of Microsoft .NET and visual studio

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

          You'll have to unlearn a lot of rubbish, to be sure :P You can have a look at "this book":https://qt-project.org/books/view/c_gui_programming_with_qt_4_2nd_edition_the_official_c_qt_book it explains the basics very well (even though it's very outdated by now). Then, reading the documentation should be enough to extent your knowlnedge, as it's in general very well-written.

          Happy coding!

          (Z(:^

          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