Results 1 to 3 of 3

Thread: Error in exe files in release mode

  1. #1
    Join Date
    Aug 2008
    Location
    Algarve, Portugal
    Posts
    288
    Thanks
    23
    Thanked 32 Times in 28 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Question Error in exe files in release mode

    I have qt 4.4.3 and QT Creator installed on winxp
    My executables in debug mode work fine but the executables in release mode have the error in the image atach file.

    To generate the exe files I use qtcretor or the comand line:

    qmake -project
    qmake
    make all

    I use the mingw compiler but the error is related to the MS Visualc++ runtime library
    (I also have ms visualc++ 6 installed)
    Why this error is happening ?
    Attached Images Attached Images

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Error in exe files in release mode

    It could be an uninitialized variable which gets initialized to a sane value in debug mode.
    J-P Nurmi

  3. #3
    Join Date
    Aug 2008
    Location
    Algarve, Portugal
    Posts
    288
    Thanks
    23
    Thanked 32 Times in 28 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: Error in exe files in release mode

    I dont think that's the problem, because this happens to all my projetcs, not just one.
    I just build in qtcreator a new project qt4 gui application, without adding any line of code.
    The same error occur.
    Yet, with a project of qt4 console application I have no errors in debug or release mode.

    This could be same kind oh conflict between visualc and qt. I will try to run the exe files in another machine to test it. If have any other idea of what this error could be let me know.

Similar Threads

  1. Widget become black in Release mode
    By navi1084 in forum Qt Programming
    Replies: 5
    Last Post: 21st October 2008, 08:07
  2. Multiple project files in a single directory
    By jogeshwarakundi in forum Qt for Embedded and Mobile
    Replies: 5
    Last Post: 17th July 2008, 07:03
  3. Replies: 2
    Last Post: 20th July 2007, 16:34
  4. qodbc driver not loaded error in release mode
    By mandal in forum Qt Programming
    Replies: 1
    Last Post: 14th November 2006, 09:42
  5. Release mode issue
    By stevey in forum Qt Programming
    Replies: 2
    Last Post: 8th November 2006, 20:26

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.