Hi all,
I am trying to use the WebKit library to open a page from a Keyence camera's web server, but the program crashes with a segmentation fault. To debug the issue, I created a simple program with a QMainWindow and a QWebView as the central widget, intended to open a single page: "http://www.google.com.br".
When I run the program, it does display the page, but there is an issue: any text input only shows the first letter of what is typed. If I click "Search," the page updates to display the results, but when I try to input new text for another search, the same problem occurs—only the first letter is displayed. Eventually, the program crashes with the following error:
ASSERT failure in int QFontMetrics::width(const QString&, int, int) const
"stringToCMap should not fail twice", file D:/cs5/src/gui/text/qfontmetrics.cpp, line 314
terminate called after throwing an instance of 'std::system_error'
what(): Operation not permitted
I am using CopperSpice 1.9.2 PreBuild binaries from you guys and using MinGW64 13.1.0 from CLion.
Thks in advance.
Problem using CsWebKit...segment fault
-
- Posts: 11
- Joined: Sun Jan 10 2021 11:24 pm