现在情况是qt5.7的码源我编译完了,但qtwebengine这个模块一直有问题,我单独编译了这个模块,编译是成功了,但运行webengine的例子又报了下面这些错误:
Qt WebEngine ICU data not found at /usr/local/Qt-5.7.0/resources. Trying parent directory...
Qt WebEngine ICU data not found at /usr/local/Qt-5.7.0. Trying application directory...
Qt WebEngine ICU data not found at /usr/local/Qt-5.7.0/examples/webenginewidgets/simplebrowser. Trying fallback directory... The application MAY NOT work.
Installed Qt WebEngine locales directory not found at location /usr/local/Qt-5.7.0/translations/qtwebengine_locales. Trying application directory...
Qt WebEngine locales directory not found at location /usr/local/Qt-5.7.0/examples/webenginewidgets/simplebrowser/qtwebengine_locales. Trying fallback directory... Translations MAY NOT not be correct.
[1013/110544:ERROR:icu_util.cc(162)] Invalid file descriptor to ICU data received.
[1013/110544:FATAL:content_main_runner.cc(714)] Check failed: base::i18n::InitializeICU().
#0 0x0000b2fc0094 base::debug::StackTrace::StackTrace()
#1 0x0000b2fd8885 logging::LogMessage::~LogMessage()
#2 0x0000b21692eb content::ContentMainRunnerImpl::Initialize()
#3 0x0000b1506125 QtWebEngineCore::WebEngineContext::WebEngineContext()
#4 0x0000b1506dce QtWebEngineCore::WebEngineContext::current()
#5 0x0000b14a8862 QtWebEngineCore::BrowserContextAdapter::defaultContext()
#6 0x0000b77801b0 QWebEngineProfile::defaultProfile()
#7 0x0000080579fd TabWidget::createTab()
#8 0x000008055454 BrowserWindow::BrowserWindow()
#9 0x000008050339 main
#10 0x0000b628ba83 __libc_start_main
#11 0x00000805044c <unknown>
The program has unexpectedly finished.
/usr/local/Qt-5.7.0/examples/webenginewidgets/simplebrowser/simplebrowser crashed