1 Attachment(s)
Using QWebEnginePage in a console app crashes my program.
Hi there guys. After hours of searching the net about why my program was crashing I finally found a thread that says you can't use QWebEnginePage in a console app without changing QCoreApplication to QApplication, so I did that and that solved the crashing problem. My program is multi-threaded and the QWebEnginePage object runs on one of the threads. Now, when I run the program I get the attached error in my console output.Attachment 12344 How can I resolve this?
Re: Using QWebEnginePage in a console app crashes my program.
This error will occur if you try to create a QWidget-based class prior to instantiating the QApplication instance. If you are creating your QWebEnginePage in this way, that's probably the source of the error.
Re: Using QWebEnginePage in a console app crashes my program.
Hence me recommending multi-processes for that in the other thread :)
Cheers,
_