Results 1 to 9 of 9

Thread: Problems running applications .exe

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #8
    Join Date
    Oct 2009
    Posts
    364
    Thanks
    10
    Thanked 37 Times in 36 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Problems running applications .exe

    read step 3 on this page: http://doc.qt.nokia.com/4.7/install-win.html

    Also, you should be able to run your program from the <filename>-build-desktop folder by opening a Qt prompt:
    Start-Programs-Qt SDK (version)-Qt Command Prompt

    This prompt should have the path set correctly for finding all dll's for mingw and Qt. Unless of course if your executable depends on other 3rd party dll's, then you will have to deal with those in a similar fashion by placing them in the path or copying them to the said folder.

    In general, you can only run a program from the command line if:
    1) the executable is in the current folder, or
    2) the executable's location is in the path

    same applies to DLL's

    If you want to deploy, then look at this web page: http://doc.qt.nokia.com/4.7/deployment-windows.html
    Last edited by schnitzel; 25th March 2011 at 16:31. Reason: spelling corrections

Similar Threads

  1. Running Qt applications on windows
    By Maluko_Da_Tola in forum Newbie
    Replies: 2
    Last Post: 12th September 2010, 20:51
  2. Replies: 1
    Last Post: 3rd November 2009, 12:25
  3. running external applications via QT?
    By cruisx in forum Newbie
    Replies: 1
    Last Post: 11th August 2009, 06:34
  4. problems running: uic.exe, moc.exe etc.[fixed]
    By fres in forum Installation and Deployment
    Replies: 2
    Last Post: 16th June 2007, 00:17
  5. Problems running on a Mac
    By spud in forum Qt Programming
    Replies: 2
    Last Post: 20th May 2007, 16:33

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.