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. Desktop Qt Quick application goes full black screen via TeamViewer
QtWS25 Last Chance

Desktop Qt Quick application goes full black screen via TeamViewer

Scheduled Pinned Locked Moved Solved QML and Qt Quick
qmlteamviewerwindows
5 Posts 2 Posters 3.0k 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.
  • KroMignonK Offline
    KroMignonK Offline
    KroMignon
    wrote on last edited by KroMignon
    #1

    Hi all,

    I am facing a strange issue and need some help.
    I have developed an Qt Application base on Qt Quick/QML (Qt 5.4.2) which runs on several embedded system. Some of them are WindowsXP base, some Windows7 Embedded.

    For Windows XP systems, I can connect to my device with TeamViewer (version 10.0.47484 with premium licence) and all works as expected, I see the remote screen and I can interact with (click, etc.)
    But for Windows7 systems, I only see a black screen. I can click and this will click on the HMI but I am blind! That's very bad for customer support!

    I have found this bug report on Qt IO https://bugreports.qt.io/browse/QTBUG-47975 but this seems not be be relevant for me.
    Nothing changes :(

    I have also a QWidget Application (splash screen application), for which TeamViewer works fine with Windows XP and Windows 7.

    Any suggestion for this issue?
    What is the root case of this issue?

    Best regards

    Fabrice

    It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

    raven-worxR 1 Reply Last reply
    0
    • KroMignonK KroMignon

      Hi all,

      I am facing a strange issue and need some help.
      I have developed an Qt Application base on Qt Quick/QML (Qt 5.4.2) which runs on several embedded system. Some of them are WindowsXP base, some Windows7 Embedded.

      For Windows XP systems, I can connect to my device with TeamViewer (version 10.0.47484 with premium licence) and all works as expected, I see the remote screen and I can interact with (click, etc.)
      But for Windows7 systems, I only see a black screen. I can click and this will click on the HMI but I am blind! That's very bad for customer support!

      I have found this bug report on Qt IO https://bugreports.qt.io/browse/QTBUG-47975 but this seems not be be relevant for me.
      Nothing changes :(

      I have also a QWidget Application (splash screen application), for which TeamViewer works fine with Windows XP and Windows 7.

      Any suggestion for this issue?
      What is the root case of this issue?

      Best regards

      Fabrice

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by raven-worx
      #2

      @KroMignon
      This may be very relevant to the used TeamViewer version (on host and client). See this

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • KroMignonK Offline
        KroMignonK Offline
        KroMignon
        wrote on last edited by
        #3

        @raven-worx
        Yes I am aware about this, I use same version on host and client (with valid licence).
        This is a quiet old version, which works fine with WindowsXP as host.
        With Windows7: Qt Widget application works, but not QML!
        Any idea why?

        It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

        raven-worxR 1 Reply Last reply
        0
        • KroMignonK KroMignon

          @raven-worx
          Yes I am aware about this, I use same version on host and client (with valid licence).
          This is a quiet old version, which works fine with WindowsXP as host.
          With Windows7: Qt Widget application works, but not QML!
          Any idea why?

          raven-worxR Offline
          raven-worxR Offline
          raven-worx
          Moderators
          wrote on last edited by raven-worx
          #4

          @KroMignon
          You can also try the suggestion in this comment

          Anyway this is rather a TeamViewer related issue than an issue of Qt. Seems they have issues with transferring OpenGL windows.
          You can also try more recent version, if this bug is already fixed by the TeamViewer team.

          Is your application using ANGLE or OpenGL?

          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
          If you have a question please use the forum so others can benefit from the solution in the future

          KroMignonK 1 Reply Last reply
          0
          • raven-worxR raven-worx

            @KroMignon
            You can also try the suggestion in this comment

            Anyway this is rather a TeamViewer related issue than an issue of Qt. Seems they have issues with transferring OpenGL windows.
            You can also try more recent version, if this bug is already fixed by the TeamViewer team.

            Is your application using ANGLE or OpenGL?

            KroMignonK Offline
            KroMignonK Offline
            KroMignon
            wrote on last edited by KroMignon
            #5

            @raven-worx
            I have also test the Registry Key changes, but doesn't have any impact.
            By the way, I just realize that the XP build of my application is using ANGLE (because OpenGL is not supported) and Windows7 is using OpenGL.
            By forcing Windows7 to use ANGLE, TeamViewer is working also with Windows7 :)

            QCoreApplication::setAttribute(Qt::AA_UseOpenGLES);
            qputenv("QT_OPENGL", "angle");
            qputenv("QT_ANGLE_PLATFORM", "d3d9");
            

            Thanks a lot for your time

            Regards

            It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

            1 Reply Last reply
            1

            • Login

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