zoomButton = new QToolButton(this);QIcon iconZoomButton;iconZoomButton.addFile(QString::fromUtf8(":/images/zoom/zoom.png"), QSize(), QIcon::Normal, QIcon::Off);zoomButton->setIcon( iconZoomButton );
zoomButton = new QToolButton(this);QIcon iconZoomButton;//iconZoomButton.addFile(QString::fromUtf8(":/images/zoom/zoom.png"), QSize(), QIcon::Normal, QIcon::Off);zoomButton->setIcon( iconZoomButton );
...Detected memory leaks!Dumping objects ->{54409} normal block at 0x0132C840, 24 bytes long. Data: < > 00 CD CD CD 00 00 00 00 00 00 00 00 00 00 00 00 {54408} normal block at 0x0130E968, 4 bytes long. Data: <@ 2 > 40 C8 32 01 {54362} normal block at 0x0129DD40, 24 bytes long. Data: < > 00 CD CD CD 00 00 00 00 00 00 00 00 00 00 00 00 {54361} normal block at 0x012F6378, 4 bytes long. Data: <@ ) > 40 DD 29 01 {54360} normal block at 0x01297AB0, 24 bytes long. Data: < > 00 CD CD CD 00 00 00 00 00 00 00 00 00 00 00 00 {54359} normal block at 0x0132D4E0, 4 bytes long. Data: < z) > B0 7A 29 01 {54350} normal block at 0x01296778, 24 bytes long. Data: < > 00 CD CD CD 00 00 00 00 00 00 00 00 00 00 00 00 {54349} normal block at 0x0132B720, 4 bytes long. Data: <xg) > 78 67 29 01 {54337} normal block at 0x01296F18, 24 bytes long. Data: < > 00 CD CD CD 00 00 00 00 00 00 00 00 00 00 00 00 {54336} normal block at 0x01292D00, 4 bytes long. Data: < o) > 18 6F 29 01 {52070} normal block at 0x012EDEB0, 80 bytes long. Data: < .(g 2 `h8g> D8 2E 28 67 98 D4 32 01 00 00 00 00 60 68 38 67 {52069} normal block at 0x0132D498, 12 bytes long. Data: < W . W > B0 57 8B 01 B0 DE 2E 01 9C 57 8B 01 {52015} normal block at 0x0132C258, 80 bytes long. Data: < .(g 2 `h8g> D8 2E 28 67 18 D1 32 01 00 00 00 00 60 68 38 67 {52014} normal block at 0x0132D118, 12 bytes long.... и так далее, полностью сообщение не влезает в пост :)...Object dump complete.The program '[11984] TestATL.exe: Native' has exited with code 2 (0x2).
zoomButton = new QToolButton(this);zoomButton->setIcon( QIcon(":/images/zoom/zoom.png") );