Results 1 to 20 of 24

Thread: exited with code -1073741511

Hybrid View

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

    Default Re: exited with code -1073741511

    When you install Qt, you are installing two different version of the Qt DLLs. QtCreator and friends requires one version, whilst applications you build use another version.

    CD to the directory of UIC and run it from there to see if it works.

  2. #2
    Join Date
    Dec 2010
    Posts
    6
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: exited with code -1073741511

    Quote Originally Posted by squidge View Post
    CD to the directory of UIC and run it from there to see if it works.
    That's what I meant by saying, I tested it directly from the command line. It worked, but when it's done automatically by Qt Creator, it fails.
    I still don't understand why... I opened uic.exe in Qt/qt/bin with DependencyWalker, to see what dlls it is using. It doesn't rely on many dlls.

    KERNEL32.dll, MSVCRT.dll, USER32.dll in system32; LIBGCC_S_DW2-1.dll in Qt/qt/bin (where uic.exe is, too), and LIBSTDC++-6.dll from my MinGW directory.

    The systems PATH variable looks like the following:

    %SystemRoot%;
    %SystemRoot%\System32;
    D:\Entwicklung\Qt\qt\bin;
    D:\Entwicklung\MinGW\bin;
    D:\Entwicklung\Qt\bin;
    D:\Entwicklung\MinGW\msys\1.0\bin;
    ...
    ...
    ...

    My users PATH variable is empty and I didn't change anything in Qt's project build environment.

    So, if uic.exe is working with the dlls, I've written above why doesn't it in Qt Creator? Since I adjusted the PATH to search in the correct directories first, Qt Creator should use the same dlls, as when it's called directly...

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

    Default Re: exited with code -1073741511

    To check your PATH variable is correct, CD to the root of any drive and try it from there. If it does, it should work from within Qt Creator also. Maybe it finds an incompatible version of LIBGCC.

  4. #4
    Join Date
    Dec 2010
    Posts
    6
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: exited with code -1073741511

    I can compile files with uic at the command line, from every directory :/ Something must be wrong with Qt Creator...

  5. #5
    Join Date
    Dec 2010
    Posts
    6
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: exited with code -1073741511

    I'm working with NetBeans now. Its Qt-Project is also able to automatically compile the ui files etc. I liked the single .pro file to include libraries etc. more than NetBeans project settings to do the same job, but since Qt Creator isn't working, it's still a nice alternative.

  6. #6
    Join Date
    Jun 2011
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: exited with code -1073741511

    "exited with code -1073741819" this code about realizing not correct destructors. If there is one or more objects created in the constructor or in another function and in the 3-th function objects are deleted incorrectly sequence then this code are occured

Similar Threads

  1. copyright and gpl
    By janus in forum General Discussion
    Replies: 8
    Last Post: 21st October 2008, 02:13
  2. Qt Cryptographic Architecture
    By vermarajeev in forum Qt Programming
    Replies: 6
    Last Post: 9th February 2007, 14:15
  3. Problem closing a QMainWindow in Qt4.2
    By ian in forum Qt Programming
    Replies: 11
    Last Post: 17th October 2006, 01:49
  4. problem with linking
    By mickey in forum Qt Programming
    Replies: 49
    Last Post: 12th August 2006, 22:41

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.