Reputation: 930
I am unable to debug the application, always getting 0xc000007b I am using the following configuration: QT 5.3.0 MSVC 2012 64bit Compilation. I added the following libs to my linking: Qt5Core.lib;Qt5Gui.lib;Qt5Widgets.lib; Optionally I tried to add the following as well (out of despair): qtmain.lib;libEGL.lib;libGLESv2.lib;
I have the following dlls in the path: Qt5Core.dll Qt5Gui.dll Qt5Widgets.dll Again (out of despair) added the following dlls to the path: qwindows.dll qminimal.dll libEGL.dll libGLESv2.dll
And I verified using dependancy walker that all of the dlls are 64 bit
This is the code:
void Bar(int argc, char* argv[])
{
try {
QApplication app(argc, argv);
} catch (...) {
}
}
And when I remark the main line
void Bar(int argc, char* argv[])
{
try {
//QApplication app(argc, argv);
} catch (...) {
}
}
I don't get any errors, and by errors I mean, of course, the application won't even start...
The main is:
int _tmain(int argc, _TCHAR* argv[])
{
Bar(argc, reinterpret_cast< char ** >(argv));
}
Here is the error as displayed in the output:
'QtTest.exe' (Win32): Loaded 'C:\workspace\plugin\TrdParty64\Qt5Core.dll'. Module was built without symbols.
'QtTest.exe' (Win32): Unloaded 'C:\workspace\plugin\TrdParty64\Qt5Core.dll'
'QtTest.exe' (Win32): Loaded 'C:\workspace\plugin\TrdParty64\Qt5Core.dll'. Module was built without symbols.
'QtTest.exe' (Win32): Unloaded 'C:\workspace\plugin\TrdParty64\Qt5Core.dll'
The program '[8936] QtTest.exe' has exited with code -1073741701 (0xc000007b).
Upvotes: 0
Views: 1721
Reputation: 43
qwindows.dll (and qminimal.dll) need to be in platforms/ relative to your executable (or in your path)
Maybe that is the problem here?
Also make sure that all dll's are the right Qt version (for example 5.5.0 vs 5.5.1)
Upvotes: 1