Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt5OpenGL.dll error
Forum Updated to NodeBB v4.3 + New Features

Qt5OpenGL.dll error

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
6 Posts 4 Posters 5.8k Views 1 Watching
  • 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.
  • A Offline
    A Offline
    AnaM
    wrote on last edited by
    #1

    Hello!

    Qt5OpenGL.dll is on my system @: C:\Qt\Qt5.6.2\5.6\msvc2013_64\bin

    But when I try to run an executable file built with VS 2013, appears an error messagem saying that Qt5OpenGL.dll is missing in my computer...But it isn't...
    QT installed it and doesn’t know where it is?

    Any clue for what do I have to do to fix this?

    Thank you very much!!

    K 1 Reply Last reply
    0
    • A AnaM

      Hello!

      Qt5OpenGL.dll is on my system @: C:\Qt\Qt5.6.2\5.6\msvc2013_64\bin

      But when I try to run an executable file built with VS 2013, appears an error messagem saying that Qt5OpenGL.dll is missing in my computer...But it isn't...
      QT installed it and doesn’t know where it is?

      Any clue for what do I have to do to fix this?

      Thank you very much!!

      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @AnaM

      Are you starting your own application?

      If yes, do you start it from Qt creator?

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      2
      • A Offline
        A Offline
        AnaM
        wrote on last edited by
        #3

        Yes I am strating my application.
        I am starting it from the folder to where it was released by VS. Do I need to start from Qt creator?

        K J.HilkJ 2 Replies Last reply
        0
        • A AnaM

          Yes I am strating my application.
          I am starting it from the folder to where it was released by VS. Do I need to start from Qt creator?

          K Offline
          K Offline
          koahnig
          wrote on last edited by
          #4

          @AnaM said in Qt5OpenGL.dll error:

          I am starting it from the folder to where it was released by VS. Do I need to start from Qt creator?

          No there is no need to use Qt creator, but your application requires access to Qt dlls. There are a couple of options.

          1. You can set a path to Qt dlls in your environment setting PATH
          2. You can copy the required dlls to the place where your application resides.

          You can also have a look to the wiki
          Note, this has been written for MinGW, but the general guideline shall be allright.

          Unfortunately, I am not using MSVC therefore, I am not completely sure, what the best way with MSVC is.
          There should be also another section in teh documentation explaining how to do with msvc, but I could not find right away.

          Vote the answer(s) that helped you to solve your issue(s)

          1 Reply Last reply
          1
          • A AnaM

            Yes I am strating my application.
            I am starting it from the folder to where it was released by VS. Do I need to start from Qt creator?

            J.HilkJ Offline
            J.HilkJ Offline
            J.Hilk
            Moderators
            wrote on last edited by J.Hilk
            #5

            @AnaM HI,

            I find the wiki page @koahnig linked a bit lacking, it's alright, but not really detailed.

            To simply start your programm you should use Qt-Creator, because it will do all the needed linking on itself, but only once, for this execution of the file!

            To make you app/programm a "standalone" application you should look into the QTDeployment tool, very usefull for windows and mac. In 90% of all cases it will get all necessary dlls and copy them in the same folder as your exe.
            Ignore the static libary part of that document!

            Than you just copy the whole folder to wherever you want to, as long as the exe is in there with all the dlls, the program will start.


            Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


            Q: What's that?
            A: It's blue light.
            Q: What does it do?
            A: It turns blue.

            1 Reply Last reply
            1
            • J Offline
              J Offline
              jackadision
              wrote on last edited by koahnig
              #6
              This post is deleted!
              1 Reply Last reply
              -2

              • Login

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