1 Attachment(s)
Qt 5.1.1. QWebView. ERROR: ICU ambiguous alias warning for encoding: windows-1251
Hi,
When I close my application I receive:
Quote:
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
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 = app
SOURCES += main.cpp\
mainwindow.cpp
HEADERS += mainwindow.h
FORMS += mainwindow.ui
mainwindow.h
Code:
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
namespace Ui {
class MainWindow;
}
{
Q_OBJECT
public:
explicit MainWindow
(QWidget *parent
= 0);
~MainWindow();
private:
Ui::MainWindow *ui;
};
#endif // MAINWINDOW_H
mainwindow.cpp
Code:
#include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QUrl>
MainWindow
::MainWindow(QWidget *parent
) : ui(new Ui::MainWindow)
{
ui->setupUi(this);
ui
->webView
->load
(QUrl("http://vk.com"));
}
MainWindow::~MainWindow()
{
delete ui;
}
main.cpp
Code:
#include "mainwindow.h"
#include <QApplication>
int main(int argc, char *argv[])
{
MainWindow w;
w.show();
return a.exec();
}
Re: Qt 5.1.1. QWebView. ERROR: ICU ambiguous alias warning for encoding: windows-1251
I think, it is a bug of the Qt 5.1.1.
Re: Qt 5.1.1. QWebView. ERROR: ICU ambiguous alias warning for encoding: windows-1251
Qt 5.1.0 MinGW Win32
Crashed when try to load http://imhonet.ru
http://www.e1.ru - ok
Code:
void MainWindow::on_btnBegin_clicked()
{
ui
->webView
->load
(QUrl(url
));
}