Results 1 to 2 of 2

Thread: Problem with VS 9 & debug

  1. #1
    Join Date
    Jan 2009
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Question Problem with VS 9 & debug

    I'm using CMake to compile C++ code in MS VS 2008 using CMake & Qt. I've installed Qt in both the debug-and-release mode and just straight debug and I can't for the life of me get this foolish thing to find any of the debug DLLs. Every time I try to compile & run in debug mode it spits out

    This application has failed to start because QtOpenGLd4.dll was not found. Re-installing the application may fix this problem.
    I've installed/reinstalled Qt several times using nmake (not mingw), checked to see all the DLLs actually do exist, made sure my Qt directory is in the path, etc. and still it's giving me this error. Release DLLs seem to work fine in VS 2008, just having troubles when I build in Debug mode. Debug symbols, etc. seem to load just fine in linux, so I think I'm safe assuming it's not a problem with the code I'm using or how it utilizes Qt.

    I'm not terribly well versed in visual studio, so I'm assuming there's some step I'm missing with regard to the Qt install, even though I've followed the compilation instructions to the letter...

    Thanks in advance for any help.

    edit: Forgot to mention, I'm using Qt 4.4.3 compiled from windows src
    Last edited by bfarman; 2nd January 2009 at 20:13. Reason: updated contents

  2. #2
    Join Date
    Jan 2009
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Thumbs up Re: Problem with VS 9 & debug

    Nevermind, I'm a fool.

    I forgot to add the bin directory to the path. For some reason, adding just Drive:\Qt\4.4.3 (the actual Qt directory) was enough for the release libs, but not for the debug libs. I had to explicitly add Drive:\Qt\4.4.3\bin to make VS find the debug libs.

Similar Threads

  1. Some very weird compilation warnings
    By MarkoSan in forum Qt Programming
    Replies: 21
    Last Post: 23rd January 2008, 16:48
  2. Debug problem in Eclipse with qrc file
    By Vortex in forum General Programming
    Replies: 6
    Last Post: 27th December 2007, 00:56
  3. problem with debug version compilation 4.3.1
    By bruce1007 in forum Qt Programming
    Replies: 3
    Last Post: 24th November 2007, 21:21
  4. Debug problem in moc_sld.cpp
    By Shawn in forum Qt Programming
    Replies: 1
    Last Post: 25th May 2007, 05:23
  5. Problem with Debug mode in KDevelop
    By zlatko in forum KDE Forum
    Replies: 1
    Last Post: 16th June 2006, 09:10

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.