Qt 6.11 is out! See what's new in the release
blog
pointer to a function
-
HI
I have a function:void MainWindow::WriteID() { ... }I want to make a pointer to this function. here is my code:
void (*F_Code)() = MainWindow::WriteID;but receive this error:
error: void value not ignored as it ought to be void (*F_Code)() = MainWindow::WriteID;why?
-
HI
I have a function:void MainWindow::WriteID() { ... }I want to make a pointer to this function. here is my code:
void (*F_Code)() = MainWindow::WriteID;but receive this error:
error: void value not ignored as it ought to be void (*F_Code)() = MainWindow::WriteID;why?