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. Which graphics driver is linked when building Qt?

Which graphics driver is linked when building Qt?

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 1.1k 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.
  • O Offline
    O Offline
    oa2004
    wrote on last edited by
    #1

    Hi,

    I'm building Qt 5.0.1 with MinGW 64 with "-opengl desktop". I can choose which graphics processor should be used on my laptop (Intel driver for onboard graphics (OpenGL 3.3) and NVIDIA driver for dedicated card (OpenGL 4.3)).

    Does it matter which processor I choose while building Qt? Will it affect against which driver the build is linked?

    I'm so far inexeperienced in building Qt.

    Kind regards and thanks for reading so far

    1 Reply Last reply
    0
    • JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      Hi,

      -I'm guessing that the one that you've currently selected will be seen by Qt (and all other programs on your computer)-

      Edit: Silly me... that's probably the wrong answer, since running a program with a graphics driver is unrelated to compiling programs using a graphics driver's headers. I don't know the correct answer, sorry.

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

      1 Reply Last reply
      0
      • sierdzioS Offline
        sierdzioS Offline
        sierdzio
        Moderators
        wrote on last edited by
        #3

        You link with headers only, and those are the same for all vendors (they are OpenGL headers). So it does not matter which driver "wins" during compilation (compiler is not interested in the binary driver at all).

        The actual driver DLL is loaded at runtime.

        (Z(:^

        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