Hi all,
I'm trying to update a progress bar, but whenever I run setValue it crashes my program. The error I get looks like this:
It doesn't happen on each iteration, only some initially, but then toward the end of the iteration, each setValue command fails, and then the program crashes.X Error: BadRequest (invalid request code or no such operation) 1
Extension: 183 (Uknown extension)
Minor opcode: 0 (Unknown request)
Resource id: 0x36020ba
my code looks like thisX Error: BadRequest (invalid request code or no such operation) 1
Major opcode: 0 ()
Resource id: 0x36020ba
Qt Code:
x=0 while x < len(fileList): # do stuff self.progressBar.setValue(x) x+=1To copy to clipboard, switch view to plain text mode
any advise?
Bookmarks