Results 1 to 2 of 2

Thread: Qt 4.7 and Visual Studio 2010 - cannot launch compiled Qt Applications

  1. #1
    Join Date
    Oct 2010
    Posts
    7
    Qt products
    Qt4
    Platforms
    Windows

    Default Qt 4.7 and Visual Studio 2010 - cannot launch compiled Qt Applications

    Hey,

    i've got a problem with my Visual Studio 2010 (ultimate, out of msdnaa) and Qt 4.7 setup.

    i can compile my Qt apps successful, files getting moc'ed and everything looks fine.

    but if i try to start my, just compiled app, i'm getting an error

    "... exe could not be launched"
    "error in application configuration"
    "check your manifestfile for errors"
    "reinstalling your application may solve the problem"

    can someone help me?

    best wishes

  2. #2
    Join Date
    Aug 2009
    Location
    Belgium
    Posts
    310
    Thanks
    10
    Thanked 31 Times in 25 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt 4.7 and Visual Studio 2010 - cannot launch compiled Qt Applications

    Hi,

    Did you use the pre-installed version of Qt (the one that you don't need to build yourself) ? It might be because of a dependency to msvcrt90.dll. You could open you .exe with depends.exe to show you the missing dependencies.

    Rebuilding Qt on your machine may solve the problem, because then Qt is build with dependencies to the DLL's that are on you machine.

    Best regards,
    Marc
    P.S. you may also google for "dll hell" and "manifest hell" :-)

Similar Threads

  1. Visual studio 2010 interference
    By The physicist in forum Installation and Deployment
    Replies: 3
    Last Post: 14th January 2011, 10:43
  2. Qt and Visual Studio 2010
    By SixDegrees in forum Qt Programming
    Replies: 6
    Last Post: 15th November 2010, 20:56
  3. Visual Studio Plugin (1.1.6) crashes Visual Studio (2010)
    By mboeni in forum Installation and Deployment
    Replies: 0
    Last Post: 11th October 2010, 17:46
  4. How to Qt4.7 Source with Visual Studio 2010
    By Aenima1981 in forum Installation and Deployment
    Replies: 0
    Last Post: 1st October 2010, 15:00
  5. Plan for Visual Studio 2010 (MSVC 2010)?
    By Vinzz in forum Qt Programming
    Replies: 1
    Last Post: 18th April 2010, 18:42

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.