Results 1 to 4 of 4

Thread: cannot use debugging in Microsoft Visual Studio 2008

  1. #1
    Join Date
    Oct 2008
    Posts
    10
    Thanks
    1

    Default cannot use debugging in Microsoft Visual Studio 2008

    I can build my project in Visual Stuido 2008 and successfully run it in release mode, however when I use "Start Debugging" option I'm getting the following error:

    Qt Code:
    1. Unable to start program ' (path of my exe file under debug folder)'
    2.  
    3. This application has failed to start because the application configuration is incorrect. Review the manifest file for possible errors.
    4. Reinstalling the application may fix this problem. For more details, please see the application event log.
    To copy to clipboard, switch view to plain text mode 

    Since I'm new to qt, the manifest file didnt mean much to me anyways it's:
    Qt Code:
    1. <?xml version='1.0' encoding='UTF-8' standalone='yes'?>
    2. <assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
    3. <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
    4. <security>
    5. <requestedPrivileges>
    6. <requestedExecutionLevel level='asInvoker' uiAccess='false' />
    7. </requestedPrivileges>
    8. </security>
    9. </trustInfo>
    10. <dependency>
    11. <dependentAssembly>
    12. <assemblyIdentity type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*' />
    13. </dependentAssembly>
    14. </dependency>
    15. <dependency>
    16. <dependentAssembly>
    17. <assemblyIdentity type='win32' name='Microsoft.VC90.DebugCRT' version='9.0.21022.8' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
    18. </dependentAssembly>
    19. </dependency>
    20. <dependency>
    21. <dependentAssembly>
    22. <assemblyIdentity type='win32' name='Microsoft.VC80.DebugCRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
    23. </dependentAssembly>
    24. </dependency>
    25. </assembly>
    To copy to clipboard, switch view to plain text mode 

    and here is my .pro file I'm using to qmake:

    Qt Code:
    1. TARGET = programName
    2. CONFIG += qt thread release console
    3. CONFIG += qt debug
    4. CONFIG -= flat
    5. CONFIG -= console
    6. QT += xml
    7. TEMPLATE = vcapp
    8. MOC_DIR = moc
    9. UI_DIR = UI
    10.  
    11. FORMS += Paths of the Ui files
    12.  
    13. RESOURCES += source/GUI/ui.qrc
    14.  
    15. win32 {
    16. RC_FILE = source/GUI/mcmm-gui.rc
    17.  
    18. INCLUDEPATH += D:/qt-all-opensource-src-4.4.0/qwt-5.1.1/include
    19.  
    20. LIBS += D:/qt-all-opensource-src-4.4.0/qwt-5.1.1/lib/qwt5.lib
    21.  
    22. }
    23.  
    24. HEADERS += paths of the header files
    25.  
    26. SOURCES += paths of the cpp files
    To copy to clipboard, switch view to plain text mode 
    any help will be appreciated!

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

    Default Re: cannot use debugging in Microsoft Visual Studio 2008

    Did you install the Qt Visual Studio debugging helper?

  3. #3
    Join Date
    Oct 2008
    Posts
    10
    Thanks
    1

    Default Re: cannot use debugging in Microsoft Visual Studio 2008

    I guess not.. where can I find it?

  4. #4
    Join Date
    Sep 2009
    Location
    Tashkent, Uzbekistan
    Posts
    107
    Thanks
    1
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default

    it is a part of Qt Creator 1.3.0 (the last one). You can obtain one from official Qt site.

Similar Threads

  1. Qt 4.4.1 Compile Error with MS Visual C++ 2008 Express SP1
    By BrainB0ne in forum Installation and Deployment
    Replies: 3
    Last Post: 19th August 2008, 15:49
  2. Program crashes with assert error in xcb_lock.c
    By Valheru in forum Qt Programming
    Replies: 3
    Last Post: 18th November 2007, 19:56
  3. KDE 3.5.0 crash while opening project
    By MarkoSan in forum KDE Forum
    Replies: 2
    Last Post: 19th October 2007, 16:21
  4. Qt configure with msvc.net
    By jivanr in forum Installation and Deployment
    Replies: 1
    Last Post: 11th June 2007, 08:17
  5. Qt Cryptographic Architecture
    By vermarajeev in forum Qt Programming
    Replies: 6
    Last Post: 9th February 2007, 13:15

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.