Results 1 to 6 of 6

Thread: Problems executing my exe in another pc

  1. #1
    Join Date
    Nov 2007
    Location
    Italy
    Posts
    694
    Thanks
    59
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Problems executing my exe in another pc

    Hi to all,
    I tried to run the exe I built in another computer that doesn't have Qt nor Visual Studio istalled.
    I developed the application using Visual Studio 2008 so I copied in the target computer in the same folder:
    • the exe file
    • the Qt dll's (Core and Gui) both release version
    • 2 dll's more that my exe need
    • the visual studio dll's MSVCR90.DLL and MSVCP90.DLL


    But When I try to execute the exe I get errors.
    Which can be the problem?

    Best Regards,
    Franco
    Franco Amato

  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: Problems executing my exe in another pc

    Quote Originally Posted by franco.amato View Post
    But When I try to execute the exe I get errors.
    Which can be the problem?
    How long are you at the forum? You should have noticed that questions like yours will end in:

    What errors do you get? Say them, because my crystal ball is still in repair!

    And as a general advice use dependency walker to determinate which libraries are missing.

  3. #3
    Join Date
    Nov 2007
    Location
    Italy
    Posts
    694
    Thanks
    59
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Problems executing my exe in another pc

    Quote Originally Posted by Lykurg View Post
    How long are you at the forum? You should have noticed that questions like yours will end in:

    What errors do you get? Say them, because my crystal ball is still in repair!
    Eheh sorry you don't need a cristal ball.

    The error is: you can not run your application, reinstall your application ( at the moment I don't remember exactly but the error messagebox says that I have to reinstall my app and it doesn't ask for a specific dll )

    And as a general advice use dependency walker to determinate which libraries are missing.
    Already done.
    It says that I need the visual studio dll's ( that I included ), the Qt dll's ( that I included ) and 2 dll's more ( lame encoder and fmod ).
    My pc (development pc) is a 64 bits ( but with windowsxp 32 bits ) and the target pc is a 32bits architecture and with winxp 32 bits.
    Any idea?
    Franco Amato

  4. #4
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Problems executing my exe in another pc

    Download the Visual C++ redistributable that matches the VC DLLs and install that.

  5. #5
    Join Date
    Nov 2007
    Location
    Italy
    Posts
    694
    Thanks
    59
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Problems executing my exe in another pc

    Quote Originally Posted by fatjuicymole View Post
    Download the Visual C++ redistributable that matches the VC DLLs and install that.
    I have to install it in the target pc right?
    Franco Amato

  6. #6
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Problems executing my exe in another pc

    Whichever PC is throwing up the error message.

Similar Threads

  1. Problems with executing the *.exe file
    By iksarp in forum Newbie
    Replies: 14
    Last Post: 28th February 2010, 05:49
  2. Executing AT commands
    By jay in forum Qt Programming
    Replies: 4
    Last Post: 8th December 2009, 09:49
  3. A problem with executing Qt 4.5.0
    By Dante in forum Installation and Deployment
    Replies: 20
    Last Post: 15th March 2009, 19:50
  4. Executing SQL scripts from a file
    By William Wilson in forum Qt Programming
    Replies: 2
    Last Post: 30th August 2007, 19:28
  5. Executing C++ before and after main()
    By fullmetalcoder in forum General Programming
    Replies: 18
    Last Post: 13th May 2007, 08:28

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.