PDA

View Full Version : cannot use debugging in Microsoft Visual Studio 2008



metow
13th December 2009, 23:54
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:


Unable to start program ' (path of my exe file under debug folder)'

This application has failed to start because the application configuration is incorrect. Review the manifest file for possible errors.
Reinstalling the application may fix this problem. For more details, please see the application event log.

Since I'm new to qt, the manifest file didnt mean much to me anyways it's:


<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level='asInvoker' uiAccess='false' />
</requestedPrivileges>
</security>
</trustInfo>
<dependency>
<dependentAssembly>
<assemblyIdentity type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*' />
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly>
<assemblyIdentity type='win32' name='Microsoft.VC90.DebugCRT' version='9.0.21022.8' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly>
<assemblyIdentity type='win32' name='Microsoft.VC80.DebugCRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
</dependentAssembly>
</dependency>
</assembly>


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


TARGET = programName
CONFIG += qt thread release console
CONFIG += qt debug
CONFIG -= flat
CONFIG -= console
QT += xml
TEMPLATE = vcapp
MOC_DIR = moc
UI_DIR = UI

FORMS += Paths of the Ui files

RESOURCES += source/GUI/ui.qrc

win32 {
RC_FILE = source/GUI/mcmm-gui.rc

INCLUDEPATH += D:/qt-all-opensource-src-4.4.0/qwt-5.1.1/include

LIBS += D:/qt-all-opensource-src-4.4.0/qwt-5.1.1/lib/qwt5.lib

}

HEADERS += paths of the header files

SOURCES += paths of the cpp files
any help will be appreciated!

squidge
14th December 2009, 00:02
Did you install the Qt Visual Studio debugging helper?

metow
14th December 2009, 00:13
I guess not.. where can I find it?

Tanuki-no Torigava
14th December 2009, 09:38
it is a part of Qt Creator 1.3.0 (the last one). You can obtain one from official Qt site (http://qt.nokia.com/).