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. QPainter does not work properly on a remote machine!

QPainter does not work properly on a remote machine!

Scheduled Pinned Locked Moved Unsolved General and Desktop
10 Posts 4 Posters 904 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.
  • B Offline
    B Offline
    BoboFuego
    wrote on last edited by BoboFuego
    #1
    This post is deleted!
    1 Reply Last reply
    0
    • Kent-DorfmanK Offline
      Kent-DorfmanK Offline
      Kent-Dorfman
      wrote on last edited by
      #2

      "run it on the remote machine" can have several meanings. If you mean you export the display to a remote machine as in DISPLAY=remote:0 then what you are seeing is reasonable since you are limited to the X11 features that the remote X11 server supports.

      Try accessing the remote machine via a vncserver connection and see if you get the correct display.

      If you meet the AI on the road, kill it.

      B 1 Reply Last reply
      0
      • Kent-DorfmanK Kent-Dorfman

        "run it on the remote machine" can have several meanings. If you mean you export the display to a remote machine as in DISPLAY=remote:0 then what you are seeing is reasonable since you are limited to the X11 features that the remote X11 server supports.

        Try accessing the remote machine via a vncserver connection and see if you get the correct display.

        B Offline
        B Offline
        BoboFuego
        wrote on last edited by
        #3
        This post is deleted!
        Christian EhrlicherC 1 Reply Last reply
        0
        • B BoboFuego

          This post is deleted!

          Christian EhrlicherC Offline
          Christian EhrlicherC Offline
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @BoboFuego said in QPainter does not work properly on a remote machine!:

          I mean where would the crossplatform-ness of Qt be left then!?

          This is not a Qt problem but a problem on your server side - when the display is transferred via VNC the transparency got lost. Don't know how Qt should do something against this.

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

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

            writing very unauthoritatively...probly a screwbuntu X server problem, but as CE said, not really a Qt problem. Qt widgets are presented to the X system and if the X system doesn't support or is not configured to handle them properly then weird things happen.

            If you meet the AI on the road, kill it.

            1 Reply Last reply
            0
            • D Offline
              D Offline
              DaShubWubDub
              wrote on last edited by
              #6

              Do you at least have your graphics drivers installed? Your probably using XCB kernel drawing, if you don’t have a graphics card seperate from the CPU then please install the mesa drivers and restart X(just restart your system to be sure).

              B 1 Reply Last reply
              0
              • D DaShubWubDub

                Do you at least have your graphics drivers installed? Your probably using XCB kernel drawing, if you don’t have a graphics card seperate from the CPU then please install the mesa drivers and restart X(just restart your system to be sure).

                B Offline
                B Offline
                BoboFuego
                wrote on last edited by
                #7
                This post is deleted!
                D 1 Reply Last reply
                0
                • Christian EhrlicherC Christian Ehrlicher

                  @BoboFuego said in QPainter does not work properly on a remote machine!:

                  I mean where would the crossplatform-ness of Qt be left then!?

                  This is not a Qt problem but a problem on your server side - when the display is transferred via VNC the transparency got lost. Don't know how Qt should do something against this.

                  B Offline
                  B Offline
                  BoboFuego
                  wrote on last edited by
                  #8
                  This post is deleted!
                  Christian EhrlicherC 1 Reply Last reply
                  0
                  • B BoboFuego

                    This post is deleted!

                    Christian EhrlicherC Offline
                    Christian EhrlicherC Offline
                    Christian Ehrlicher
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    @BoboFuego said in QPainter does not work properly on a remote machine!:

                    and if this is a limitation for applications written in Qt, then it's indeed a Qt issue.

                    You never proved the opposite - I'm pretty sure the x driver does not support transparency over VNC and I don't see how Qt can do anything against this. Simply try it out with any other non-Qt software which shows a semi-transparent window. If it's shown correctly in your vnc viewer then we can maybe talk. But Qt is not a window manager and doesn't do something special when drawing a window on the screen.

                    Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                    Visit the Qt Academy at https://academy.qt.io/catalog

                    1 Reply Last reply
                    2
                    • B BoboFuego

                      This post is deleted!

                      D Offline
                      D Offline
                      DaShubWubDub
                      wrote on last edited by
                      #10

                      @BoboFuego you are correct they are apart of the operating system, the context is missing, and context is, you have to install them. Just like how xfce is apart of the operating system but it must still be installed in order to use them.

                      Please attempt to install the mess drivers instead of starting context linguist battles, this is a support forum not a proverbial “rap battle”. I know for a fact Ubuntu doesn’t come with mesa drivers installed in the due to preferring the situation in that you want a “fresh” system to install specific drivers with out going through x11 display configuration to select the corrrect driver to use.

                      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