mainwindow.h or detwin.h doesn't see <memory> header
Solved
General and Desktop
-
I have base class mainwidow and another window's class detwin.
mainwindow.h includes <memory> header
mainwindow.cpp includes mainwindow.h . mainwindow.cpp file sees shared_ptr
but inside mainwindow.h and detwin.h I cant use shared_ptrwhat's going on with QT?
-
shared_ptr is in the namespace std.
This should do the jobstd::shared_ptr<DaneKlasaBazowa> ptr