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. [SOLVED] qt3d executable error "Qt5Cored.dll is missing from your computer"
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] qt3d executable error "Qt5Cored.dll is missing from your computer"

Scheduled Pinned Locked Moved General and Desktop
6 Posts 4 Posters 56.7k 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.
  • S Offline
    S Offline
    sunil.nair
    wrote on 30 Jan 2015, 06:03 last edited by
    #1

    Hi,

    I am building application cube4 of qt3d tutorials. It runs perfectly and I see the executable in the Debug folder. But, when i try to run the executable, it says: The program can't start because Qt5Cored.dll is missing from your computer.Try reinstalling the program to fix this program.

    I am using MinGW compiler. There is no qt5Cored.dll in my computer. However, I can find qt5Core.dll? What should I do?

    1 Reply Last reply
    0
    • E Offline
      E Offline
      euchkatzl
      wrote on 30 Jan 2015, 07:16 last edited by
      #2

      You have to copy all necessary qt dll into your build directory.

      With Debug builds all Dlls are suffixed with a "d" (for Debug).

      For a release compile you have to copy the release dll (in your case Qt5Core.dll).

      All Qt Dll are located in your Qt install directory.
      @[Path of yout Qt installation]/5.3/[platform]/bin@

      The best way for me to automate this process is to call a simple batch script that's called by build process.
      For example like that :
      @QMAKE_POST_LINK += $$PWD/build_win.cmd $$[QT_INSTALL_BINS]@
      With $$[QT_INSTALL_BINS] variable in your pro file you get the path where the dlls are located. (You can add message($$[QT_INSTALL_BINS]) for displaying that path).

      1 Reply Last reply
      0
      • P Offline
        P Offline
        Pradeep P N
        wrote on 30 Jan 2015, 07:33 last edited by
        #3

        Hi,

        You cannot directly run the executable either in the Debug folder or the Release folder.

        It requires few of the .dll to be added such as Qt5Gui.dll, icudt51.dll, libstdc++-6.dll etc.. with it to run it.
        It will not only ask for Qt5Core.dll it also takes other few of the .dll to run it.

        You can find these .dll in your Qt installed directory Ex: C:\Qt\Qt5.2.1\5.2.1\mingw48_32\bin as in Windows. In Bin folder you can get all the .dll files which the executable file requires.

        Just copy and paste these .dll in folder where the executable is. Then this will work.

        Pradeep Nimbalkar.
        Upvote the answer(s) that helped you to solve the issue...
        Keep code clean.

        1 Reply Last reply
        1
        • J Offline
          J Offline
          JKSH
          Moderators
          wrote on 30 Jan 2015, 08:00 last edited by
          #4

          Hi,

          See the "Deploy and Application on Windows":http://qt-project.org/wiki/Deploy_an_Application_on_Windows article

          Also, if you want to distribute your application, make a release build instead of a debug build. Release builds have higher performance and consume less resources.

          !http://i.imgur.com/S582DlV.png(DLL locations)!

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

          1 Reply Last reply
          0
          • S Offline
            S Offline
            sunil.nair
            wrote on 30 Jan 2015, 09:16 last edited by
            #5

            Thak you. my issue is resolved. I have another question.

            How can I change the icon on executable application being displayed?

            1 Reply Last reply
            0
            • J Offline
              J Offline
              JKSH
              Moderators
              wrote on 30 Jan 2015, 11:17 last edited by
              #6

              [quote author="sunil.nair" date="1422609361"]Thak you. my issue is resolved.[/quote]You're welcome.

              Please edit your original post and add "[SOLVED"] to the title.

              [quote author="sunil.nair" date="1422609361"]Thak you. my issue is resolved. I have another question.

              How can I change the icon on executable application being displayed? [/quote]See the "documentation":http://doc.qt.io/qt-5/appicon.html

              In the future, please start a new thread for new questions.

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

              1 Reply Last reply
              0

              3/6

              30 Jan 2015, 07:33

              • Login

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