Results 1 to 6 of 6

Thread: Application works when started from VS2005, breaks when started from explorer

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2008
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Application works when started from VS2005, breaks when started from explorer

    %SystemRoot%\system32 is set within PATH. I think it would break with a message like "*.dll could not be found" if it weren't so

  2. #2
    Join Date
    May 2006
    Location
    Germany
    Posts
    108
    Thanks
    2
    Thanked 14 Times in 12 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Application works when started from VS2005, breaks when started from explorer

    Are you launching the program on the same machine?

    If no: check if you are trying to launch a debug version. Since Visual Studio 2005 it is impossible to ship a debug version to a computer that does not run Visual Studio.

    If yes: Check if the required Qt (and other) libraries are placed in the application directory (recommended) / system directory (if you are not afraid of dll hell) / PATH (if you are not afraid of dll hell).

    To figure out which libraries your program cannot find I suggest using Dependency Walker.
    "If you lie to the compiler, it will get its revenge." - Henry Spencer

  3. #3
    Join Date
    Sep 2008
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Application works when started from VS2005, breaks when started from explorer

    Quote Originally Posted by Methedrine View Post
    Are you launching the program on the same machine?
    Yes I am.

    Quote Originally Posted by Methedrine View Post
    To figure out which libraries your program cannot find I suggest using
    Dependency Walker tells me, that every library can be found (except the well known msjava.dll issue)

Tags for this Thread

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.