Topic: Meeting in designer QImage

In the big project in one of functions there is a following code: QImage MyClass:: Foo (int a, int b, int W, int H) {QImage img; if (...) {QImage:: Format format = QImage:: Format_RGB888; img = QImage (W, H, format);...} else {...} return img;} The main thing here - forms local QImage by the designer on-default, then in it   QImage which has been created by designer QImage (int, int, QImage:: Format). Application flies in a call of designer QImage (int, int, QImage:: Format). The meeting unstable, can be shown 10 consecutive times, and can not float weeks. That strange is all happens in local objects, the application multithreading here should not  do. A meeting in the designer, call stack contents: 0 QX11Info:: appDpiX (int)/usr/lib/x86_64-linux-gnu/libQtGui.so.4 0x7ffff0d36f44 1 QImageData:: QImageData ()/usr/lib/x86_64-linux-gnu/libQtGui.so.4 0x7ffff0d51676 2 QImageData:: create (QSize const&, QImage:: Format, int)/usr/lib/x86_64-linux-gnu/libQtGui.so.4 0x7ffff0d53546 3 QImage:: QImage (int, int, QImage:: : Format)/usr/lib/x86_64-linux-gnu/libQtGui.so.4 0x7ffff0d5374d All 4 positions without the source code (it is accessible only ), though a meeting and is caught in a debugger (at me Qt without library source codes). What could it be? And how with it it is possible to struggle?


Re: Meeting in designer QImage

Hello, the Smith, you wrote: And  it is so much copies that? Can create on a heap?


Re: Meeting in designer QImage