Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Solved Desktop Qt Quick application goes full black screen via TeamViewer

    QML and Qt Quick
    qml teamviewer windows
    2
    5
    2628
    Loading More Posts
    • 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.
    • KroMignon
      KroMignon last edited by 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

      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-worx 1 Reply Last reply Reply Quote 0
      • raven-worx
        raven-worx Moderators @KroMignon last edited by raven-worx

        @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 Reply Quote 0
        • KroMignon
          KroMignon last edited by

          @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-worx 1 Reply Last reply Reply Quote 0
          • raven-worx
            raven-worx Moderators @KroMignon last edited by 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?

            --- 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

            KroMignon 1 Reply Last reply Reply Quote 0
            • KroMignon
              KroMignon @raven-worx last edited by KroMignon

              @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 Reply Quote 1
              • First post
                Last post