Results 1 to 3 of 3

Thread: Windows Compiler error

  1. #1
    Join Date
    Jul 2010
    Posts
    72
    Thanks
    35
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Windows Compiler error

    Hello, I created an project on Linux and it compiles perfectly. Then I opened it in Vista. I compiled it and it ran fine as well. However, when I try to open the .exe file in the debug folder, it show the error message:

    it was not possible to start the aplication because mingwm10.dll was not found.

    What does this mean? Was the Qt project not suppose to run on Vista?

    Cheers

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Windows Compiler error

    You have to deliver the plugins within your directory. See the how to deploy an application in the docs.

  3. #3
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Windows Compiler error

    Your application runs fine when start from Run button in Qt Creator, but gives that error when double-clicked from explorer? If so you can do one of the two things:

    1) On your computer you can add the environment variables path for Qt and MingW

    2) Or you can copy the required dll's in the same folder with your application.exe

    You need at least two dll's for MingW runtime:
    mingwm10.dll and libgcc_s_dw2-1.dll
    you can find this two in the Qt_install_folder\mingw\bin

    and for the Qt "stuff", you find those dll's in: Qt_install_folder\qt\bin (THE ONES FROM Qt_install_folder\qt\ DON'T WORK)
    Also, note that there are different versions for debug and release (like for example: QtGui4.dll - release and QtGui4d.dll - debug version)

  4. The following user says thank you to Zlatomir for this useful post:

    Maluko_Da_Tola (4th August 2010)

Similar Threads

  1. Compiler Error
    By Maluko_Da_Tola in forum Newbie
    Replies: 2
    Last Post: 30th July 2010, 23:37
  2. WinMain@16 compiler error in Qt examples
    By Tvt204 in forum Installation and Deployment
    Replies: 11
    Last Post: 26th January 2010, 19:30
  3. Compiler Error Q3PtrList (VS2005 on XP and Qt4.3.3)
    By stefan1981 in forum Installation and Deployment
    Replies: 5
    Last Post: 5th September 2008, 15:18
  4. How do I use MinGW Compiler in Windows
    By Walsi in forum General Discussion
    Replies: 3
    Last Post: 11th May 2007, 08:50
  5. 4.1.0 qmake compiler error - Solaris
    By Novahokie in forum Installation and Deployment
    Replies: 6
    Last Post: 19th April 2007, 18:49

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.