oKcerG / SortFilterProxyModel

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

Error on include "not all overloads are accessible" #63

Open devinsodhi opened 5 years ago

devinsodhi commented 5 years ago

On line 16 in the file Proxyrole.h , 'using QObject::QObject;' breaks the build with the above error.

I specifically only tested on msvc2013, because i m using another lib that requires that i stay in that kit.

Removing the statement seems to fix the issue and the code subset i am experimenting with still works, but I haven't verified that it breaks something else.

Is my fix workable? asking if it doesn't affect newer compilers.

To potentially save you some work, the code under question was added on August 7,2018 https://github.com/oKcerG/SortFilterProxyModel/commit/3a55ea0d8c11769c480994c4d9f35501c831f518