Qt Forum

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

    Solved how to use GDI wiht QT to show a picture on the secondary Screen(or Projector),if dont extend these displays?

    General and Desktop
    3
    9
    156
    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.
    • J
      jimfar last edited by

      how to use GDI wiht QT to show a picture on the secondary Screen(or Projector),if dont extend these displays?

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi,

        Can you give more details about your setup and your goal ?

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

        1 Reply Last reply Reply Quote 0
        • J
          jimfar last edited by

          i dont want extend displays when The PC exist two or more screen,and it can draw a picture on the secondary Screen non primary screen . so what should i do ?

          JKSH 1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            Sorry but it's not any clearer. Qt applications are not tied to a monitor so if you have two you can have widgets of on application on the two screens.

            If it's not what you are looking for, you should describe exactly your setup and the goal of your application.

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

            1 Reply Last reply Reply Quote 0
            • J
              jimfar last edited by

              when the PC exist mutil scree on one display card, i wanna show a picture on the non primary screen ,and the screen dont show anythine but the picture, even if dragging a windows into this screen from the main screen .

              1 Reply Last reply Reply Quote 0
              • JKSH
                JKSH Moderators @jimfar last edited by JKSH

                @jimfar said in how to use GDI wiht QT to show a picture on the secondary Screen(or Projector),if dont extend these displays?:

                i dont want extend displays

                When you say "Extend", do you mean this?:

                Windows 10 display options

                If so, I'm not sure it's possible. If you don't extend, then Qt only sees 1 screen.

                Do you know of any other software that can show a picture on a secondary screen without extending?

                Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                1 Reply Last reply Reply Quote 2
                • J
                  jimfar last edited by

                  yes ,it is what i mean.
                  if it can use GDI to complete these work

                  JKSH 1 Reply Last reply Reply Quote 0
                  • JKSH
                    JKSH Moderators @jimfar last edited by

                    @jimfar said in how to use GDI wiht QT to show a picture on the secondary Screen(or Projector),if dont extend these displays?:

                    yes ,it is what i mean.

                    As I said: If you don't extend, then Qt cannot see your secondary screen.

                    if it can use GDI to complete these work

                    Then you must call GDI functions in your program: https://docs.microsoft.com/en-us/windows/win32/gdi/windows-gdi

                    Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                    1 Reply Last reply Reply Quote 1
                    • J
                      jimfar last edited by

                      ok thanks

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post