Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
mainwindow.h or detwin.h doesn't see <memory> header
BartoszT last edited by
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_ptr
what's going on with QT?
@BartoszT This comes from code model I guess?
Does your app build?
foo_shepherd last edited by
shared_ptr is in the namespace std.
This should do the job