Hi,
On Sep 28, 2009, at 9:02 PM, ext Daniel Price wrote:
> 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.
I can't reproduce this. It would be helpful if you pasted us the
detailed information from MacOS's crash reporter.
--
Eike Ziller
Software Engineer
Nokia, Qt Development Frameworks
Phone +49 (0)30 6392 3255
Fax +49 (0)30 6392 3256
E-mail [email protected]
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator