I can compile without any problem this
Qt Code:
class ClassName { public: ClassName(int x, const std::function<double(quint16,quint16)>& func, int y, int z); };To copy to clipboard, switch view to plain text mode
and inside .pro file I have line
Bookmarks