The following crashes every time on OSX (Leopard) and has done so for
some time now (both in 1.2.1 and the latest snapshot 1.2.91 taken on
the 25th sep).
.hpp file
#ifndef MYCLASS_HPP
#define MYCLASS_HPP
class MyClass
{
struct PImpl;
PImpl *m_pimpl;
public:
MyClass();
~MyClass();
};
#endif // MYCLASS_HPP
.cpp file
#include "MyClass.hpp"
#include <vector>
struct MyClass::PImpl
{
std::vector<int> data;
};
MyClass::MyClass()
:
m_pimpl(new PImpl)
{
//// try to access m_pimpl using completion here
//// m_pimpl->data CRASH
}
MyClass::~MyClass()
{
delete m_pimpl;
}
Please fix! This is driving me nuts, especially since creator trashes
the entire session and forgets what project I had loaded.
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator