Solved mainwindow.h or detwin.h doesn't see <memory> header
-
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?
-
@BartoszT This comes from code model I guess?
Does your app build? -
shared_ptr is in the namespace std.
This should do the jobstd::shared_ptr<DaneKlasaBazowa> ptr