Results 1 to 5 of 5

Thread: Qt5 looking for QtCore4d.dll

  1. #1
    Join Date
    Oct 2012
    Location
    France
    Posts
    29
    Thanks
    1
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Qt5 looking for QtCore4d.dll

    Hello everyone,

    I installed today Qt5.1.0-rc on Windows 7 with the offline binary installer. (the correct binary ie msvc2012 x86 since I'm using Visual Studio 2012 on a Windows7 32-bit edition)

    Everything goes smoothly for the building, but when I try to launch the debug, I got the error message "QtCored4.dll is missing".
    (I get the message inside Visual Studio but also when double-clicking on the exe file, or launching it from the command line editor)

    Which is quite strange since I'm using Qt5.

    I was using Qt4 before, but I updated the PATH environment variable with the path to the bin directory inside the Qt5 folder (which is btw containing the "Qt5Cored.dll" library the system should look for).

    Does anyone have an idea ?


    Thanks


    Added after 55 minutes:


    More information about this problem :
    - When building, I can see that the qmake used is the one from the 5.1.0 directory

    Maybe this has nothing to do qith the problem, or maybe everything...
    - In visual Studio, although the VC++ Directories are set with the correct paths (%QTDIR%\bin, ...\lib and ...\include, where QTDIR it pointing to the Qt5.1.0 folder), the MACRO "QT_VERSION" is shown as "0x040804" (meaning Qt4.8.4)


    P.S.: I already restarted Visual Studio, and the computer.
    Last edited by bouchebeu; 28th June 2013 at 14:18.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt5 looking for QtCore4d.dll

    What does the dependency walker say?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Oct 2012
    Location
    France
    Posts
    29
    Thanks
    1
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Qt5 looking for QtCore4d.dll

    It says it calls:
    - QT5WIDGETSD.DLL
    - QT5GUID.DLL
    - QT5CORED.DLL
    which is correct

    and also
    - MSVCP110D.DLL
    - MSVCR110D.DLL
    which seems to belong to Visual Studio 2010...

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt5 looking for QtCore4d.dll

    Does it refer to QtCore4d.dll anywhere?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. The following user says thank you to wysota for this useful post:

    bouchebeu (28th June 2013)

  6. #5
    Join Date
    Oct 2012
    Location
    France
    Posts
    29
    Thanks
    1
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Qt5 looking for QtCore4d.dll

    Yes it does !
    The exe uses a library I compiled with Qt4.

    I temporary copied the QtCore4d.dll inside my exe's folder, and it works !
    (I'll recompile with the new Qt version now)

    Thanks a lot !

    P.S.: Now, I'll always ask the dependency walker.


    I'll look for the Visual Studio issue, and create a new thread if I don't succeed.

Similar Threads

  1. Missing manifest for QtCore4d.dll
    By walmit in forum Installation and Deployment
    Replies: 1
    Last Post: 2nd June 2012, 03:16

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.