error with QTableView
-
Hello friends, I have the following problem, I get this error in my code, which surprises me is that, when I compiled this same code in a previous version of qt it worked fine, now I am with version 5.15, it seems strange to me, some recommendation, or reason why this happens.
connect(ui->tableView->selectionModel,&QItemSelectionModel::currentChanged,this,[&](){ //todo });
!
this is the error message:
-
@J-Hilk said in error with QTableView:
with high certainty I can say QTableView has no public members!
use the getter function
ui->tableView->selectionModel()ahh ok, what a mistake mine, and what a silly question mine too, thanks friend, I solved my problem, greetings
-
@lincoln said in error with QTableView:
ui->tableView->selectionModel
with high certainty I can say QTableView has no public members!
use the getter function
ui->tableView->selectionModel()
-
@J-Hilk said in error with QTableView:
with high certainty I can say QTableView has no public members!
use the getter function
ui->tableView->selectionModel()ahh ok, what a mistake mine, and what a silly question mine too, thanks friend, I solved my problem, greetings