How to use Qt5's new signal-slot connect function in CLion?
I'm developing application with Qt5. When I use the new signal-slot connect function, CLion show me an error, saying "Incompatible pointer types 'const char * ' and ''void (*)(bool)' ". How should I do, thanks!
This is my code.
connect(openAction, &QAction::triggered, this, &MainWindow::openFile); // openFile is an member function in MainWindow
Please sign in to leave a comment.
Hi Kaso.
Please try using the latest CLion 1.5 EAP which contains a lot of language improvements. Does that help?
Thanks for you solving my problem!