Results 1 to 8 of 8

Thread: can't find entrypoint of procedure _Z5qFreepv in DLL-file qtcore4.dll

  1. #1
    Join Date
    May 2010
    Posts
    8
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default can't find entrypoint of procedure _Z5qFreepv in DLL-file qtcore4.dll

    Hi all,
    i installed sdk 2010.02.1 on my windows xp home machine and after a week of battle i produced a very simple executable.
    All beginning is hard. Just a window with a pushbutton that closes the window.
    After starting the executable 'dubbel clicking it' it asked for several DLL's wich i copyed to the 'system32 dir'.
    No more asking for DLL's but now it says in dutch: (dutch windows version) 'can't find entrypoint of procedure _ZqFreepv in DLL-file Qtcore4.dll' wich of course i copyed to system32.
    Any body any sugestions?

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: can't find entrypoint of procedure _Z5qFreepv in DLL-file qtcore4.dll

    you should not copy the DLLs to system32, rather, set your system environment variables - otherwise, each time you upgrade Qt you will have to copy the DLLs again, and there are good chances you will forget at least some.
    This might also solve your problem.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  3. #3
    Join Date
    May 2010
    Posts
    8
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: can't find entrypoint of procedure _Z5qFreepv in DLL-file qtcore4.dll

    You mean upgrading?

  4. #4
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: can't find entrypoint of procedure _Z5qFreepv in DLL-file qtcore4.dll

    Thats what he said.

    Secondly, the error you are getting is because different programs require different versions of Qt. Therefore the DLLs must NOT be in system32.

  5. #5
    Join Date
    May 2010
    Posts
    8
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: can't find entrypoint of procedure _Z5qFreepv in DLL-file qtcore4.dll

    thank you both for the quick reply.
    I thought upgrading would solve the entrypoint problem but now i am not sure that "thats what he said"
    I get the DLLs out of system32 and figure out what of qt and or mingw must be in PATH.
    Please correct me if i still don't get it.
    Next will be how to install my homemade executables on other computers but it's fridaynight here so i am gone.

    Thanks again.

  6. #6
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: can't find entrypoint of procedure _Z5qFreepv in DLL-file qtcore4.dll

    Your path should be set to qt\lib, or you should copy the DLL into the same directory as the executable

  7. #7
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: can't find entrypoint of procedure _Z5qFreepv in DLL-file qtcore4.dll

    As others have said, put the relevant Qt bin directory in the PATH for your executable (or put the DLLs in the same directory as the executable). Also make sure that you are using/deploying the DLL files from "/Qt/2010.02.1/qt/bin" (built with the bundled MingW) and not "/Qt/2010.02.1/bin" (built with MSVC to support QtCreator).

  8. #8
    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: can't find entrypoint of procedure _Z5qFreepv in DLL-file qtcore4.dll

    If you build with MingW (default Qt SDK) you need at least two dll's from MingW:
    mingwm10.dll and libgcc_sdw2-1.dll
    (you find this in "mingw\bin" in your Qt installation folder)

    And you should add the path (on your developement machine) to MingW dll's, so the final "thing" that you need to add to your "Path" in "Environment Variables" will be something like this:

    C:\Qt\2010.02.1\mingw\bin;C:\Qt\2010.02.1\qt\bin

    (this depends on your path to Qt, so check and make sure that you don't skip the ; between entries in there)

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

    digidas (25th May 2010)

Similar Threads

  1. Procedure Entry Point QChar not found in qtcore4.dll
    By GINCALUA in forum Installation and Deployment
    Replies: 0
    Last Post: 23rd November 2009, 23:29
  2. Problem to find file path
    By phillip_Qt in forum Qt Programming
    Replies: 14
    Last Post: 28th April 2008, 10:06
  3. How to find file using Qt?
    By rajeshs in forum Qt Programming
    Replies: 2
    Last Post: 1st January 2008, 13:07
  4. Cannot find file: winmain.pro in Qt installation
    By jivanr in forum Installation and Deployment
    Replies: 3
    Last Post: 11th June 2007, 12:22
  5. how to use qftp to upload file in just one procedure?
    By cxl2253 in forum Qt Programming
    Replies: 4
    Last Post: 23rd April 2007, 09:57

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.