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.
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.
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:
<?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>
<?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>
To copy to clipboard, switch view to plain text mode
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
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
To copy to clipboard, switch view to plain text mode
any help will be appreciated!
Bookmarks