Wt recommends to use forward declarations to avoid circular dependencies.
// Settings.h
#include
#include
class User; // Forward declaration of User Wt::Dbo object
class Settings
{
public:
Wt::Dbo::ptr user;
…
http://www.webtoolkit.eu/wt/doc/tutorial/dbo.html says
The complete source code for the examples used in this tutorial are available as ready-to-run programs in the examples/feature/dbo/ folder of Wt.
I'm trying to run tutorial1.C from that…
I am trying to develop an application in Wt, namely with the Dbo module and a QueryModel to show in a WTableView.
However, as I try to do this,
dbo::QueryModel< dbo::ptr > *model = new dbo::QueryModel< dbo::ptr…