Home > other >  [for] QTableWidget: : selectedRanges () function under the debug errors, zhengque problem right unde
[for] QTableWidget: : selectedRanges () function under the debug errors, zhengque problem right unde

Time:10-24

Learning qt recently encountered a problem, I am use "c + + GUI Programming with qt 4" of the second edition of the book learning qt Programming examples of program is the same, that spreadsheet use QTableWidget: : selectedRanges () this function returns the choice table ranks, but in the debug (VS2005 IDE), is the value of the error, a return to the ranges of the first row is a large number of 1234556, the results of my program collapse immediately but release version of the program will not collapse, how to return a responsibility? Release also can't see the value of this variable please help, thanks a lot!

CodePudding user response:

My phenomenon is underneath the Debug can display the contents of every line normally, to release all below is empty,
  • Related