Results 1 to 6 of 6

Thread: Launching problem

  1. #1
    Join Date
    May 2007
    Posts
    315
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Launching problem

    Hi. I've got a problem. When I compile an application, and try to run exe, I get error that mingwm10.dll file couldn't be found. Any ideas?I didn't have this problem before
    Regards

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Launching problem

    you must add the bin directory of your mingw installation to the PATH environment variable.
    for example:
    set PATH=%PATH%;c:\mingw\bin

  3. #3
    Join Date
    May 2007
    Posts
    315
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Launching problem

    Quote Originally Posted by marcel View Post
    you must add the bin directory of your mingw installation to the PATH environment variable.
    for example:
    set PATH=%PATH%;c:\mingw\bin
    Isn't it done automatically when launching qt command prompt?

  4. #4
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Launching problem

    Then it should work. Check the bin directory to see if you indeed have that dll in there.

  5. #5
    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: Launching problem

    Quote Originally Posted by Salazaar View Post
    Isn't it done automatically when launching qt command prompt?
    Yes, and you can launch the app from Qt command prompt. However, Qt command prompt adjusts its own environment, not system environment, which means that you still cannot launch the app from Windows Explorer.
    J-P Nurmi

  6. #6
    Join Date
    May 2007
    Posts
    315
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Launching problem

    Quote Originally Posted by jpn View Post
    Yes, and you can launch the app from Qt command prompt. However, Qt command prompt adjusts its own environment, not system environment, which means that you still cannot launch the app from Windows Explorer.
    So as I guess, I have to add all the variables manually?
    p.s.
    I've done it, but there's no result
    p.p.s
    It's good now, I made an old routine and typed 4.2.3 instead of 4.3.2
    Last edited by Salazaar; 29th October 2007 at 12:09.

Similar Threads

  1. Replies: 5
    Last Post: 15th June 2007, 22:08
  2. QTimer problem ... it runs but never triggs
    By yellowmat in forum Newbie
    Replies: 4
    Last Post: 4th July 2006, 12:54
  3. Problem with bitBlt
    By yellowmat in forum Newbie
    Replies: 1
    Last Post: 5th April 2006, 14:08
  4. fftw problem
    By lordy in forum General Programming
    Replies: 1
    Last Post: 16th March 2006, 21:36
  5. Replies: 16
    Last Post: 7th March 2006, 15:57

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.