Results 1 to 3 of 3

Thread: Error: "The Application has requested the runtime to terminate in an unusual way"

  1. #1
    Join Date
    Jan 2011
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Error: "The Application has requested the runtime to terminate in an unusual way"

    Hi all,

    I am trying to create a Qt 4.7.1 application using sqlite and the basic gui components both for windows and linux.

    The application builds and runs properly in both windows and linux on my development machine.

    When trying to distribute the application to other computers, including the dll files which are needed (found them in my qt installation), I get the error "The Application has requested the runtime to terminate in an unusual way" which does not really help.

    I can't get the return code since echo %errorlevel% returns 0.

    I am using mingw and qt-creator, and used valgrind to get rid of memory leaks (which give a different error anyway).

    I'd appreciate a hint to the right direction.

    Thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: Error: "The Application has requested the runtime to terminate in an unusual way"

    Quote Originally Posted by Beherit View Post
    including the dll files which are needed (found them in my qt installation),
    That might be a problem when you have two versions of a certain dll in your installation.
    Some Qt versions include a different version for the tools. If you built your program with another version, chances are this might not work.

    You can always use a good debugger and see where it might fail.

  3. #3
    Join Date
    Jan 2011
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Error: "The Application has requested the runtime to terminate in an unusual way"

    It turns out the Sqlite driver was not being loaded. So an additional search fixed this issue for me.


    Thanks for the reply.

Similar Threads

  1. Replies: 8
    Last Post: 5th November 2012, 08:43
  2. Replies: 32
    Last Post: 25th August 2012, 23:10
  3. Replies: 10
    Last Post: 9th September 2010, 16:43
  4. "Treat wchar_t as Built-in Type" to "yes" link error
    By sungaoyong in forum Qt Programming
    Replies: 1
    Last Post: 5th June 2008, 11:45
  5. QFile Problem~ "Unknow error" in "open(QIODevice::ReadWrite)"
    By fengtian.we in forum Qt Programming
    Replies: 3
    Last Post: 23rd May 2007, 15:58

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.