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 application with FPGA driven display
Forum Updated to NodeBB v4.3 + New Features

QT application with FPGA driven display

Scheduled Pinned Locked Moved Unsolved General and Desktop
11 Posts 4 Posters 1.7k Views 3 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.
  • K Offline
    K Offline
    Krishnakanth
    wrote on last edited by
    #1

    Can we create a Qt GUI application with FPGA driven display

    1 Reply Last reply
    0
    • fcarneyF Offline
      fcarneyF Offline
      fcarney
      wrote on last edited by
      #2

      No idea, but can your FPGA act like a framebuffer in Linux?
      https://doc.qt.io/qt-5/embedded-linux.html#linuxfb

      Is it your primary display, or a special purpose display? If its special purpose (used for some sort of imaging) it may be possible to render things to an image and then transfer that to your FPGA. While the rest of the app is on a "normal" device.

      C++ is a perfectly valid school of magic.

      1 Reply Last reply
      2
      • K Offline
        K Offline
        Krishnakanth
        wrote on last edited by Krishnakanth
        #3

        FPGA can't act as a frame bufffer and It is a primary display.Can i draw all the output to an image and block the displaying on screen by qt.

        1 Reply Last reply
        0
        • fcarneyF Offline
          fcarneyF Offline
          fcarney
          wrote on last edited by
          #4

          Whats on the FPGA? What is it programmed to do?

          C++ is a perfectly valid school of magic.

          1 Reply Last reply
          0
          • K Offline
            K Offline
            Krishnakanth
            wrote on last edited by
            #5

            FPGA is used to create some images and display on screen also there are some other functionalities done by it.

            I want to know if a Qt GUI application can be painted on image buffer[char array] instead of displaying it on LCD screen.

            if we can do it what are the possible ways.

            1 Reply Last reply
            0
            • Kent-DorfmanK Offline
              Kent-DorfmanK Offline
              Kent-Dorfman
              wrote on last edited by
              #6

              @Krishnakanth said in QT application with FPGA driven display:

              I want to know if a Qt GUI application can be painted on image buffer[char array] instead of displaying it on LCD screen.

              Every QWidget has a paint() method so the target of that paint method could be a memory buffer if you desire. In fact, often times widgets are drawn to a buffer before being displayed.

              1 Reply Last reply
              0
              • K Offline
                K Offline
                Krishnakanth
                wrote on last edited by
                #7

                how to create a custom frame buffer

                1 Reply Last reply
                0
                • K Offline
                  K Offline
                  Krishnakanth
                  wrote on last edited by Krishnakanth
                  #8

                  @Kent-Dorfman i dont want to modify all the widgets. i want to apply changes at high level.

                  @fcarney @Kent-Dorfman Can i use offscreen Platform-independent plugin to render to buffer

                  1 Reply Last reply
                  0
                  • Kent-DorfmanK Offline
                    Kent-DorfmanK Offline
                    Kent-Dorfman
                    wrote on last edited by
                    #9

                    Xvfb x-server then...or something similar, but your discussion is now well outside the scope of Qt.

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      Hi,

                      How is the rest of the system communicating with that FPGA ? Depending on that, you might be able to write a QPA plugin that will allow you to write your application as usual while leveraging said FPGA.

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      K 1 Reply Last reply
                      3
                      • SGaistS SGaist

                        Hi,

                        How is the rest of the system communicating with that FPGA ? Depending on that, you might be able to write a QPA plugin that will allow you to write your application as usual while leveraging said FPGA.

                        K Offline
                        K Offline
                        Krishnakanth
                        wrote on last edited by Krishnakanth
                        #11

                        @SGaist Thank you so much.
                        So, i think i have to write a QPA plug-in which is similar to "minimal" provided by qt.In flush call i have to share the image data to FPGA.

                        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