Results 1 to 14 of 14

Thread: Qt4VSAddin with VS10 - Error about missing assembly "stdole" on VS startup

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2011
    Posts
    9
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Qt4VSAddin with VS10 - Error about missing assembly "stdole" on VS startup

    Hi there,
    I just installed the Qt4 VS addin (i.e. built Qt 2010.05 from source via nmake and then ran the addin installer) but now I'm getting this error when I try to start Visual Studio 2010:
    qtfail.png

    The first line means something like "Couldn't register all Qt4VSAddin commands : File or assembly "stdole, Version=..." or one of its dependencies couldn't be found. File not found.
    At
    ..."

    When I click "OK" in that dialog VS starts up fine and the Qt stuff seems to be in place. Even compiling works, but when I try to run one of my compiled programs, I'm getting this error (rough translation):
    "This applicaton couldn't be started, because the side-by-side configuration is invalid. See application event log for more information. More details can be viewed using the command tool sxstrace.exe."

    Did I miss some installation step or is this problem otherwise already known? I'm happy to share any other necessary information, just let me know if you need it.

    Thanks in advance!


    EDIT:
    I just looked into the event log, and it says something like
    "Error at generating the activation context for "C:\Users\user\Documents\Visual Studio 2010\Projects\testqt4addin\testqt4addin.exe". The dependent assembly "Microsoft.VC90.DebugCRT,processorArchitecture="x8 6",publicKeyToken="1fc8b3b9a1e18e3b",type="win32", version="9.0.21022.8"" could not be found."
    there .. guess I somehow removed that thing when I uninstalled VS 2008 and stuff is still depending on it... I'll further investigate into this problem, any advice would be appreciated though.

    EDIT2:
    I just realized that Release builds work fine (which kinda makes sense).
    Right now I'm rebuilding Qt with -debug-and-release (rather than -release only), maybe that'll do the trick...

    EDIT3:
    Okay, that STILL didn't help me fixing the error...
    What I just don't understand is why I'm getting an error about the VC++ 2008 runtime although I (think I am?) compiling with the 2010 compiler...
    Last edited by wysota; 27th February 2011 at 10:33.

Similar Threads

  1. xlib: extension "XFree86-DRI" missing on display ":0.0".
    By kiransu123 in forum Qt Programming
    Replies: 5
    Last Post: 3rd August 2009, 15:43
  2. Error "QString::arg: Argument missing"
    By Lawand in forum Qt Programming
    Replies: 3
    Last Post: 18th February 2009, 21:26
  3. Replies: 0
    Last Post: 3rd December 2008, 12:58
  4. "Treat wchar_t as Built-in Type" to "yes" link error
    By sungaoyong in forum Qt Programming
    Replies: 1
    Last Post: 5th June 2008, 12:45
  5. QFile Problem~ "Unknow error" in "open(QIODevice::ReadWrite)"
    By fengtian.we in forum Qt Programming
    Replies: 3
    Last Post: 23rd May 2007, 16:58

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.