Getting debugging support for Qt 4.8 on Visual Studio 2008



  • I've installed the Qt libraries for VS 2008 using the packet manager included in the Qt 4.8 SDK. However I cannot find any pdb files in the library installation (in my case: C:\QtSDK\Desktop\Qt\4.8.0\msvc2008). Additionally I also installed the 4.7.4 libs just to see if there are any pdb files, but I couldn't find them either. I need to fix some bugs and therefore should be able to step into the Qt source in VS. Is there any way to get these pdb files w/o having to compile the whole Qt from source?



  • Meh I compiled it. Wasn't much work but took around two hours even with many things disabled. I wonder how I could disable making the qtcreator.

    @C:\Qt\4.8.0>configure -debug-and-release -opensource -platform win32-msvc2008 -no-qt3support -no-sql-sqlite -no-multimedia -no-audio-backend -no-phonon -no-phonon-backend -no-webkit -no-opengl -no-script -no-scripttools@


  • Moderators

    welcome to devnet

    Did you recompile the source delivered with the SDK?



  • No I downloaded the opensource-everywhere source using the instructions from "here":http://www.holoborodko.com/pavel/2011/02/01/how-to-compile-qt-4-7-with-visual-studio-2010/.


  • Moderators

    [quote author="jc-denton" date="1331134388"]No I downloaded the opensource-everywhere source using the instructions from "here":http://www.holoborodko.com/pavel/2011/02/01/how-to-compile-qt-4-7-with-visual-studio-2010/.[/quote]
    That is fine. It is recommended not to recompile the SDK sources. So, you have done the right thing.
    My question was triggered that the creator has been generated as well. I have not seen the creator being directly part of the opensource-everywhere. But I have compiled only up to 4.6 versions.



  • Btw just remembered that one also needs to move bin\syncqt.bat out of the way. Otherwise Qt will complain about the lack of Perl.


  • Moderators

    [quote author="jc-denton" date="1331136634"]Btw just remembered that one also needs to move bin\syncqt.bat out of the way. Otherwise Qt will complain about the lack of Perl.[/quote]

    But you had another version of Qt on your machine. Otherwise you need to have Perl.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.