Debug problem in moc_sld.cpp
I am using Qt4.2.3 _eval with VS2005
The program can run properly, but when dubug, it comes here:
Code:
int SLD
::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a
) {
if (_id < 0)
return _id;
switch (_id) {
case 0: Trans((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
case 1: on_actionShow_triggered(); break;
case 2: showTrans((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
}
_id -= 3;
}
return _id;
}
It can run to the last brace, and then tells me:
"There is no source code available for the current location"
but the program can run properly, so what's wrong?
Re: Debug problem in moc_sld.cpp
There is nothing wrong.
It means that there is no source code for the current location of the instruction pointer.
Either means you are returning from the function and the objects on the stack are deleted( and you don't have the source code for them, but not the case here - there's nothing allocated locally), or you are calling a function in a library.
See:http://msdn2.microsoft.com/en-us/lib...fb(vs.80).aspx
Regards