I create a widget which inherit QMainWindow,if I it,the program will break down,but if I add before the program will run norally.
Why?
I create a widget which inherit QMainWindow,if I it,the program will break down,but if I add before the program will run norally.
Why?
what do you mean by break down? it crashes? or it simply terminates?.. for the later case see if you have QApplicaion::exe() called at the end of main...
can you produce a minimal compilable program reproducing the problem?
It is solved,thk u.
Bookmarks