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. It is possible to avoid loading opengl32sw.dll when OS have no opengl drivers ?

It is possible to avoid loading opengl32sw.dll when OS have no opengl drivers ?

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 4 Posters 1.9k 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.
  • F Offline
    F Offline
    freedbrt
    wrote on 23 Oct 2022, 16:12 last edited by freedbrt
    #1

    I have a static qml application (qt 5.15), and i just want to distribute only one binary file to my customer. And all working fine, while customer have graphics driver in the system. But there is a certain percentage of customers who do not have opengl32 drivers, and in this case, i need to supply a opengl32sw.dll (software implementation) file next to the application, but i want to avoid this, is it possible?
    There is no way to distribute opengl32sw.dll inside application, in resources maybe?
    Or perhaps this problem is solved by switching to RHI backend ?
    I will be glad for any advice.

    1 Reply Last reply
    0
    • C Offline
      C Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on 23 Oct 2022, 16:19 last edited by
      #2

      It's not possible until you compile opengl32sw statically by yourself.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      F 1 Reply Last reply 23 Oct 2022, 19:14
      0
      • C Christian Ehrlicher
        23 Oct 2022, 16:19

        It's not possible until you compile opengl32sw statically by yourself.

        F Offline
        F Offline
        freedbrt
        wrote on 23 Oct 2022, 19:14 last edited by freedbrt
        #3

        @Christian-Ehrlicher Are you sure? Quick look at the Qt sources, and i see that opengl32sw.dll is loading using LoadLibrary win api function, there is no other way to load opengl functions.

        1 Reply Last reply
        0
        • C Offline
          C Offline
          cristian-adam
          wrote on 23 Oct 2022, 19:27 last edited by
          #4

          You could also fix the issue with ... documentation. The user can install the OpenCL™ and OpenGL® Compatibility Pack from the Microsoft Store.

          F 1 Reply Last reply 23 Oct 2022, 19:56
          0
          • C cristian-adam
            23 Oct 2022, 19:27

            You could also fix the issue with ... documentation. The user can install the OpenCL™ and OpenGL® Compatibility Pack from the Microsoft Store.

            F Offline
            F Offline
            freedbrt
            wrote on 23 Oct 2022, 19:56 last edited by
            #5

            @cristian-adam User also can install drivers, change OS, etc, but I have another question. It is possible create application without opengl32sw.dll dependency ? Maybe Qt6 will allow it?

            1 Reply Last reply
            0
            • C Offline
              C Offline
              ChrisW67
              wrote on 23 Oct 2022, 23:39 last edited by
              #6

              Qt Quick is dependent on OpenGL, OpenGL ES, Vulkan, Metal, or Direct X depending on platform.

              1 Reply Last reply
              0

              2/6

              23 Oct 2022, 16:19

              topic:navigator.unread, 4
              • Login

              • Login or register to search.
              2 out of 6
              • First post
                2/6
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved