Project

General

Profile

Dbo QueryModel forces linking against lwt library because of WAbstractTableModel

Added by Uana Bipro over 3 years ago

I'm trying to compile code that is using the class Dbo QueryModel (inside Dbo library), but it is forcing me to link against lwt library, because WAbstractTableModel is not defined inside Dbo library. Is this correct?
Can I use QueryModel class without using wt library?


Replies (1)

RE: Dbo QueryModel forces linking against lwt library because of WAbstractTableModel - Added by Roel Standaert over 3 years ago

The QueryModel is indeed a cross-over between Wt and Wt::Dbo. It is usually used with WTableView and WTreeView, or the charts from Wt.

So you will need to link with both Wt and Wt::Dbo if you use QueryModel.

    (1-1/1)