Hi and welcome.
You will need to show the code where it crashes and the code around that place as
its impossible to guess what could be wrong.
Please use the Topic Tools button to mark as Solved and
Upvote the answer(s) that helped you to solve the issue
postimage.org can be used for screenshots.
Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.