Hello everyone...
I'm having a little problem with a program I'm working on.
As I have no QT experience, my head warms up ...

I try to select text in a pdf file, time works, time does not work and crash program.

I made a video to help understand, at first the selection of the text works, then begins to give problem with the message "SIGSEGV".

I think the problem is in this line:

Qt Code:
  1. This-> scene () -> update (boundingRect ().Translated (pos ()));
To copy to clipboard, switch view to plain text mode 

Follow the video link of the Error.

https://youtu.be/Qofs9OEGd6c

How to handle this error?

Can someone help me ? Thanks in advance.