I get "LNK2019: unresolved external symbol" error when trying to create new slot in any window class with standard C++ library arguments.
private slots:
...
void setNewTableItemFromDialog(int number, int age, string rate, string name, string team);
...
private slots:
void replaceTableItem(int number, int age, string rate, string name, string team);
For some reason Qt can compile "setNewTableItemFromDialog()" method, but can't do this with "replaceTableItem()" method, whicn contains actually the same arguments. If I remove this particular method, all works just fine. I already tried to delete build derectory, run CMake, and clean project, nothing works.