Results 1 to 3 of 3

Thread: MinGW Compiler under WXP

  1. #1
    Join Date
    Mar 2007
    Location
    Vienna / Austria
    Posts
    54
    Thanks
    7
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default MinGW Compiler under WXP

    Okay, I also installed qt4.2.3 on my WXP Distribution. From the command prompt I am able to compile my cpp/qt projects. So the MinGW generates a "release" Folder which contains the executable from my Application.

    In this special MinGW Command Prompt I am able to start this executable (e.g.: HelloWorld.exe). But when I try to run it out of a "Standard Dos Shell" (Start -> run -> "cmd"), I got following error:



    Unable to Locate Component

    This application has failed to start because mingwm10.dll was not found. Re-installing the application may fix this problem



    So what causes this error message???
    It cannot be the truth, that I only can start my applications from the QT-configured command prompt, and further that I need MinGW installed on every WXP Machine on which I want to run my applications.

    Or is exactly this the only truth about my problem?


    Best Regards,...

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 975 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: MinGW Compiler under WXP

    Quote Originally Posted by Walsi View Post
    So what causes this error message???
    Just as the error message says, windows can't find mingwm10.dll file. Find it and copy it to the same directory where your executable is or to c:\windows\system or wherever windows looks for DLLs.

  3. #3
    Join Date
    Mar 2007
    Location
    Bielefeld, Germany
    Posts
    9
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: MinGW Compiler under WXP

    In addition: the same will most likely apply to the Qt4-related dll files. In general, I copy them to the application-dir, just to be sure, I deliver them with my application on release.

Similar Threads

  1. How do I use MinGW Compiler in Windows
    By Walsi in forum General Discussion
    Replies: 3
    Last Post: 11th May 2007, 08:50
  2. Replies: 7
    Last Post: 24th March 2007, 13:53
  3. Where do I can download mingw compiler?
    By Illuminnator in forum General Discussion
    Replies: 3
    Last Post: 25th February 2007, 06:55
  4. Loaded QT 4.1.1 and MinGW Compiler
    By Seth in forum Newbie
    Replies: 7
    Last Post: 8th July 2006, 15:03
  5. How to setup the Dev C++ with MingW compiler for QT?
    By gopik_g in forum Installation and Deployment
    Replies: 1
    Last Post: 4th June 2006, 08:19

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.