Qt 5.1.1. QWebView. ERROR: ICU ambiguous alias warning for encoding: windows-1251
-
Hi,
When I close my application I receive:
[CODE]
ERROR: ICU ambiguous alias warning for encoding: windows-1251
platform\text\TextCodecICU.cpp(247) : void WebCore::TextCodecICU::createICUConverter() const
ERROR: ICU ambiguous alias warning for encoding: windows-1251
platform\text\TextCodecICU.cpp(247) : void WebCore::TextCodecICU::createICUConverter() const
LEAK: 18 CachedResource
LEAK: 1 Range
LEAK: 462 WebCoreNode
[/CODE]This is my application:
WebBrowser.pro
[CODE]
#-------------------------------------------------Project created by QtCreator 2013-12-03T11:08:08
#-------------------------------------------------
QT += core gui webkitwidgets
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = WebBrowser
TEMPLATE = appSOURCES += main.cpp
mainwindow.cppHEADERS += mainwindow.h
FORMS += mainwindow.ui
[/CODE]mainwindow.h
[CODE]
#ifndef MAINWINDOW_H
#define MAINWINDOW_H#include <QMainWindow>
namespace Ui {
class MainWindow;
}class MainWindow : public QMainWindow
{
Q_OBJECTpublic:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();private:
Ui::MainWindow *ui;
};#endif // MAINWINDOW_H
[/CODE]mainwindow.cpp
[CODE]
#include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QUrl>MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
ui->webView->load(QUrl("http://vk.com"));
}MainWindow::~MainWindow()
{
delete ui;
}
[/CODE]main.cpp
[CODE]
#include "mainwindow.h"
#include <QApplication>int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWindow w;
w.show();return a.exec();
}
[/CODE] -
I think, it is a bug of the Qt 5.1.1.