setColumnHidden
-
I created a QTableView and hided initially few columns with setColumnHidden. I Build static the application and now I want to hide more columns with setColumnHidden, but no effect. More, if I try to comment the old lines that used setColumnHidden it has no effect. The QTableView I made with qt creator designer not by code. Please help.
-
I created a QTableView and hided initially few columns with setColumnHidden. I Build static the application and now I want to hide more columns with setColumnHidden, but no effect. More, if I try to comment the old lines that used setColumnHidden it has no effect. The QTableView I made with qt creator designer not by code. Please help.
-
at least part of your can be explained that something is not compiled, but be.
Therefore, I am suggesting that run qmake again and do a complete rebuild of your project.
You are stating that you are changing source, but the code change is not reflected in new behaviour of your application. A complete new compilation may cure the whole situation. -
@vicarod
Might be something missing, because I tried it and its working.So check once...
-
I dont know what was happening, but I find the solution. I delete the built directory, and at rebuild it works. I use win7 and Qt creator. Thanks for answers.
Basically you followed my initial advice. Deletion of the build folder stuff is identical to running qmake again and rebuild.
make files are a measure to minimize the compilation need and concentrate only on part requiring recompliation, but sometimes the logic gets fooled. Therefore, rerun qmake and rebuild is sometimes the best advice.
-
Basically you followed my initial advice. Deletion of the build folder stuff is identical to running qmake again and rebuild.
make files are a measure to minimize the compilation need and concentrate only on part requiring recompliation, but sometimes the logic gets fooled. Therefore, rerun qmake and rebuild is sometimes the best advice.