oKcerG / SortFilterProxyModel

A nicely exposed QSortFilterProxyModel for QML
MIT License
298 stars 101 forks source link

Member access into incomplete type - build error #68

Closed husninazer closed 4 years ago

husninazer commented 4 years ago

I just added the .pri location to my pro file and when compiling the following error.

error: member access into incomplete type 'const qqsfpm::QQmlSortFilterProxyModel' return proxyModel.sourceData(sourceIndex, m_roleName);

              roleFilter.cpp Line 41
oKcerG commented 4 years ago

Hello, it works here.

Are you sure there is no change in your source code? What's weird is that QQmlSortFilterProxyModel is not in the qqsfpm namespace in the code. Your error message seems to imply it is.

husninazer commented 4 years ago

Hi, this was a setup issue from my side as the class name was already there in the project defined earlier.