Results 1 to 2 of 2

Thread: Procedure entry point not found

  1. #1
    Join Date
    Sep 2009
    Posts
    41
    Thanks
    16
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Unhappy Procedure entry point not found

    Sigh. I finally got my little application running in Qt Creator, and now I'd like to create an executable, but alas, it's not working.

    Here's what I did:
    1) I changed the Run Configuration to Release, then built the app. Everything is fine (as long as I run from within Qt Creator).
    2) Then I went to the "release/" subdirectory in my project and double-clicked the .exe

    Here's what I got:
    "The procedure entry point _Z21qRegisterResourceDataPKhS0_S0_ could not be located in the dynamic link library QtCore4.dll"

    Any ideas what this utterly cryptic error message means?

    I'm hoping to get one simple .exe file out of all of this that already has all the necessary libraries built in. Is that possible?

    Thanks for your help!

  2. #2
    Join Date
    Sep 2009
    Posts
    41
    Thanks
    16
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: Procedure entry point not found

    Ok, so I finally found the answer (why oh why can't they make error messages more helpful?)

    In order to build a simple, standalone .exe file, you have to build Qt itself statically. The directions on how to do this are below. The default is to build everything dynamically. Note that building Qt statically takes several hours.

    http://doc.trolltech.com/4.5/deployment-windows.html

Similar Threads

  1. Procedure entry point not found
    By Ishmael in forum Newbie
    Replies: 5
    Last Post: 11th October 2009, 07:15
  2. Replies: 0
    Last Post: 6th August 2009, 17:35
  3. Visual Studio 2005 Express
    By Muzz in forum Installation and Deployment
    Replies: 22
    Last Post: 6th November 2008, 06:21
  4. Program crashes with assert error in xcb_lock.c
    By Valheru in forum Qt Programming
    Replies: 3
    Last Post: 18th November 2007, 19:56
  5. KDE 3.5.0 crash while opening project
    By MarkoSan in forum KDE Forum
    Replies: 2
    Last Post: 19th October 2007, 16:21

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.