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. Cant' run a more complex project from Command Prompt

Cant' run a more complex project from Command Prompt

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 2 Posters 1.8k 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.
  • J Offline
    J Offline
    Jasonzz
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • J Offline
        J Offline
        Jasonzz
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

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

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          • Login

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