Cant' run a more complex project from Command Prompt



  • I'm currently using Qt 5.1.1 for Windows 32-bit (MinGW 4.8, OpenGL, 666 MB) and try to run a .exe
    at the command prompt.

    What I'm seeing is a windows pops up -"Entry Point Not Found" followed with the following
    text "The procedure entry point Z21qRegisterResourceDataiPkhs0_S0 could not be located in the
    dynamic link library QT5Core.dll. I again figure out what .dll's were missing prior to getting
    this error message.

    What Interesting is I'm able to compile and run the project for both Debug and Release from QT Creator.


  • Lifetime Qt Champion

    Hi,

    This question has been asked many times on this forum.

    Please have a look at the "Windows deployment guide":http://qt-project.org/doc/qt-5.0/qtdoc/deployment-windows.html



  • Please Note this might be the similar problem that I posted earlier but it created a different error message which the person was NEW to QT
    at the time was not sure of what the source of the problem.

    Turns out both were related that cause different error messages.

    After MUCH research by searching the Internet and trial -n- error ...

    It turns out that I was using the wrong bin folder (C:\Qt\Qt5.1.1\tools\QtCreator\bin) as the source for copy .dll files to the folder
    containing the .exe I was trying to get to work on it's own.

    The error messages I was encounter was NOT clear to this person who is NEW to using QT.

    I ended up using the Folder C:\Qt\Qt5.1.1\5.1.1.\mingw48_32\bin (Qt 5.1.1 for Windows 32-bit (MinGW 4.8, OpenGL, 666 MB)
    as the source for those .dll files that needs to be copied from.

    I guess I was lucky with the other QT version (Qt 5.1.1 for Windows 32-bit (VS 2010, 505 MB) that I was using before I had to uninstall it and install another
    version of QT (Qt 5.1.1 for Windows 32-bit (MinGW 4.8, OpenGL, 666 MB) as to get the project to compile/run correctly.

    I would highly recommend you make a copy of this folder as working folder to be used as the SOURCE because it so easy to end up moving/deleting those files in process of getting those .exe files to work such that you would end up having uninstall/re-install the QT again as a starting place.


  • Lifetime Qt Champion

    Qt Creator is built with VS, which is why you had this problem.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.