Results 1 to 3 of 3

Thread: Deploying a hello world program on windows:Entry Point Not Found

  1. #1
    Join Date
    Apr 2011
    Posts
    67
    Thanks
    22
    Thanked 5 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Deploying a hello world program on windows:Entry Point Not Found

    I am trying to deploy a hello world program in windows and i am getting this error:

    The procedure entry point _Z5qFreePv could not be located in the dynamic link library QtCore4.dll

    I have built my exe in release mode and i have the following dlls residing in the same folder the exe is in:

    -QtCore4.dll
    -QtGui4.dll
    -libgcc_s_dw2-1.dll
    -mingwm10.dll

    What could be the problem.
    Last edited by thefatladysingsopera; 9th May 2011 at 19:54.

  2. #2
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Deploying a hello world program on windows:Entry Point Not Found

    This usually happens when you copy the wrong dll - there are some dlls with the SDK that are built with Visual Studio, if you have the old SDK the correct path from where to copy the dlls is something like: C:\Qt\2010.05\qt\bin the ones from: C:\Qt\2010.05\bin wont work. And for the new SDK the path is something like: C:\QtSDK\Desktop\Qt\4.7.3\mingw\bin
    //this depends on the path you installed the SDK

  3. The following user says thank you to Zlatomir for this useful post:

    thefatladysingsopera (9th May 2011)

  4. #3
    Join Date
    Apr 2011
    Posts
    67
    Thanks
    22
    Thanked 5 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Deploying a hello world program on windows:Entry Point Not Found

    Quote Originally Posted by Zlatomir View Post
    This usually happens when you copy the wrong dll - there are some dlls with the SDK that are built with Visual Studio, if you have the old SDK the correct path from where to copy the dlls is something like: C:\Qt\2010.05\qt\bin the ones from: C:\Qt\2010.05\bin wont work. And for the new SDK the path is something like: C:\QtSDK\Desktop\Qt\4.7.3\mingw\bin
    //this depends on the path you installed the SDK
    I solved the problem and everything is working now.Thanks for the help Zlatomir.

    This link was also useful: http://stackoverflow.com/questions/3...676053#3676053
    Last edited by thefatladysingsopera; 9th May 2011 at 21:28.

Similar Threads

  1. Replies: 5
    Last Post: 20th December 2010, 10:01
  2. Qt Creator SDK 2010.05 - 'Hallo world' doesn't work on Windows 7 64bit
    By mastupristi in forum Qt Tools
    Replies: 1
    Last Post: 15th November 2010, 10:25
  3. Trouble deploying on Windows
    By kiss-o-matic in forum Installation and Deployment
    Replies: 6
    Last Post: 17th October 2010, 07:42
  4. Deploying on Windows
    By GianMarco in forum Installation and Deployment
    Replies: 6
    Last Post: 18th November 2009, 08:13
  5. how to write hello world sample QT application on windows mobile
    By pallavi Boyapat in forum Qt Programming
    Replies: 8
    Last Post: 3rd November 2008, 13:06

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.