Results 1 to 7 of 7

Thread: Release QT program, ?free@QVectorData@@SAXPAU1@H@Z...!

  1. #1
    Join Date
    Aug 2008
    Posts
    33
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Release QT program, ?free@QVectorData@@SAXPAU1@H@Z...!

    My environment: VS2008+Qt4.6.0+Win7.
    The program running without problem in Debug model, however, it's failed in release model. I compiling in release mode works fine. I can even start the programm with VS. but once i go to the folder containing the executable and i try to run it i get an error:
    "?free@QVectorData@@SAXPAU1@H@Z" was not found in "QtCore4.dll"

    I am linking with: qtmain.lib QtCore4.lib QtGui4.lib
    the problem is QVector. I don't know how to solve this problem!

  2. #2
    Join Date
    Sep 2009
    Posts
    72
    Thanked 10 Times in 10 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded Qt Jambi
    Platforms
    Unix/X11 Windows

    Default Re: Release QT program, ?free@QVectorData@@SAXPAU1@H@Z...!

    Hi,

    it seems probelm with Qt bin path enviornment variable is not set. Now could you check debug/release project in VS has the same properties?
    also check PATH enviornment variable for Qt bin directory path.

    try to run application outside VS as well. if you getting the same error once check QT bin folder weather those dll are present there are not

  3. #3
    Join Date
    Oct 2009
    Posts
    364
    Thanks
    10
    Thanked 37 Times in 36 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Release QT program, ?free@QVectorData@@SAXPAU1@H@Z...!

    did you use Qt Command Prompt?
    If so, then please show the settings appear in the console when you start Qt Command Prompt.

  4. #4
    Join Date
    Aug 2008
    Posts
    33
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Release QT program, ?free@QVectorData@@SAXPAU1@H@Z...!

    I am not use Command prompt, however, qt-vs-addin-1.1.2.exe insteaded. because the debug version program can run both within VS and without VS envirionment, so I think it's not the environment variable problem, besides, it's show "... was not found in QtCore4.dll ", which indicates that the program had known the QtCore4.dll!

  5. #5
    Join Date
    Sep 2009
    Posts
    72
    Thanked 10 Times in 10 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded Qt Jambi
    Platforms
    Unix/X11 Windows

    Default Re: Release QT program, ?free@QVectorData@@SAXPAU1@H@Z...!

    Hi,

    Have you check Qt bin folder for QtCore.dll also have u check PATH enviornment variable for the same

  6. #6
    Join Date
    Aug 2008
    Posts
    33
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Release QT program, ?free@QVectorData@@SAXPAU1@H@Z...!

    Thank you for your replying, you are right, the release version program running successfuly after I added the Qt bin path to the environment variable. however, I am not understand why debug version can run without environment variable correctly initialized?

  7. #7
    Join Date
    Nov 2007
    Posts
    89
    Thanked 21 Times in 18 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Release QT program, ?free@QVectorData@@SAXPAU1@H@Z...!

    Maybe you have other version of QtCore4.dll or QtGui4.dll somewhere in your path. I know Lyx and Miktex have them; sometimes even the dlls shipped with QtCreator could be not compatible from the ones you are linking with.

Similar Threads

  1. program doesn't seem to free memory, linux
    By JeanC in forum Qt Programming
    Replies: 5
    Last Post: 1st September 2008, 12:06
  2. Replies: 7
    Last Post: 19th January 2008, 15:29
  3. What to free or not to free, that is the question
    By bruccutler in forum Qt Programming
    Replies: 1
    Last Post: 25th July 2007, 05:04
  4. Release my simple program to other users ?
    By probine in forum Qt Programming
    Replies: 9
    Last Post: 9th July 2006, 23:42
  5. preparing program for release
    By impeteperry in forum Installation and Deployment
    Replies: 5
    Last Post: 22nd April 2006, 19:30

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
  •  
Qt is a trademark of The Qt Company.