I have created a ChartView class that inherits "QChartView" and "QObject".
I need to generate a SIGNAL from the ChartView class and connect to the MainWindow SLOT.
However, currently, I am getting the following error.
"direct base 'QObject' is inaccessible due to ambiguity"
Qt Code:
{ Q_OBJECT private: }To copy to clipboard, switch view to plain text mode
If I don't add QObject, then SIGNAL and SLOT don't work.
Any suggestion?
Bookmarks