Windows SDK 7.1, MSVC 2010 Build Error
Dynamic Python binding for Qt Applications
Brought to you by:
florianlink,
marcusbarann
Hi Guys,
I get the following when building under windows vista x64, SDK 7.1, msvc 2010 (Compiler Version 16.00.30319.01 for x64), Qt 4.7.2 and PythonQt 2.0.1
Seems like a simple const char string and std::string confusion for the compiler but I just can't pick up where, Any help would be appreciated.
Cheers
Shakes
Hi Shakes!
Had this problem too. It seems that the assignment was changed in SKD 7.1. Fix it by replacing the appropriated line in pp-iterator.h.
inline pp_output_iterator &operator=(pp_output_iterator &__v) {
const size_t need = _M_result.size() + __v._M_result.size();
if (_M_result.capacity() < need)
_M_result.reserve(need);
_M_result.append(__v._M_result);
// _M_result = __v._M_result;
return *this;
}
Greeting,
Julian Wiegel