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. how to use GDI wiht QT to show a picture on the secondary Screen(or Projector),if dont extend these displays?

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

Scheduled Pinned Locked Moved Solved General and Desktop
9 Posts 3 Posters 525 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.
  • J Offline
    J Offline
    jimfar
    wrote on last edited by
    #1

    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
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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
      0
      • J Offline
        J Offline
        jimfar
        wrote on last edited by
        #3

        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 ?

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

          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
          0
          • J Offline
            J Offline
            jimfar
            wrote on last edited by
            #5

            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
            0
            • J jimfar

              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 ?

              JKSHJ Offline
              JKSHJ Offline
              JKSH
              Moderators
              wrote on last edited by JKSH
              #6

              @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
              2
              • J Offline
                J Offline
                jimfar
                wrote on last edited by
                #7

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

                JKSHJ 1 Reply Last reply
                0
                • J jimfar

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

                  JKSHJ Offline
                  JKSHJ Offline
                  JKSH
                  Moderators
                  wrote on last edited by
                  #8

                  @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
                  1
                  • J Offline
                    J Offline
                    jimfar
                    wrote on last edited by
                    #9

                    ok thanks

                    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