Qt Forum

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

    Update: Forum Guidelines & Code of Conduct

    Which graphics driver is linked when building Qt?

    General and Desktop
    3
    3
    974
    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.
    • O
      oa2004 last edited by

      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 Reply Quote 0
      • JKSH
        JKSH Moderators last edited by

        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 Reply Quote 0
        • sierdzio
          sierdzio Moderators last edited by

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