It's possible to add Widget with INTERNET EXPLORER renderer?
-
wrote on 25 Sept 2013, 14:52 last edited by
Hello all,
First off all thanks for everyone that's help me with this question and second I know the new Qt now support Webkit, but I really need to make use of IE engine inside Qt. The page that I will load only works on IE (at this moment only in IE, in a future release the page will work at any browser).
So, it's possible to make use of IE renderer using some Qt Plugin/DLL or anything?
If someone has something to share, please any tip will be very usefull!Thank again,
-
wrote on 25 Sept 2013, 15:42 last edited by
There is nothing pre-build. However, you may be able to leverage ActiveQt to embed an activeX Trident-based HTML view. The API won't be as convenient as using the Qt webkit integration though. Note that I did not try this myself.
-
wrote on 25 Sept 2013, 16:48 last edited by
Thanks one more time Andre!
I found this: http://qt-project.org/doc/qt-4.8/activeqt-webbrowser.html
-
wrote on 25 Sept 2013, 17:01 last edited by
Appears very unstable the example, I found the example include in new QtCreator 5.1.1 and test... but the application crashs without doing anything!
I will see more here... just a report about this feature and code example.
Windows Message Error (Sorry it's in Portuguese):
@
Assinatura do problema:
Nome do Evento de Problema: APPCRASH
Nome do Aplicativo: webbrowser.exe
Versão do Aplicativo: 0.0.0.0
Carimbo de Data/Hora do Aplicativo: 524326aa
Nome do Módulo de Falhas: Qt5Guid.dll
Versão do Módulo de Falhas: 5.1.1.0
Carimbo de Data/Hora do Módulo de Falhas: 521a5442
Código de Exceção: c0000005
Deslocamento de Exceção: 0001786a
Versão do sistema operacional: 6.1.7601.2.1.0.768.2
Identificação da Localidade: 1046
Informações Adicionais 1: 0a9e
Informações Adicionais 2: 0a9e372d3b4ad19135b953a78882e789
Informações Adicionais 3: 0a9e
Informações Adicionais 4: 0a9e372d3b4ad19135b953a78882e789@ -
wrote on 26 Sept 2013, 12:23 last edited by
Andre, where I can send a Bug report about this example:
http://qt-project.org/doc/qt-5.0/activeqt/activeqt-webbrowser.html
Thanks a lot!
-
wrote on 26 Sept 2013, 12:51 last edited by
-
wrote on 26 Sept 2013, 17:14 last edited by
I post the bug error there: QTCREATORBUG-10244.
See you.
-
wrote on 26 Sept 2013, 20:37 last edited by
just to shared I resolve the problem above!
I remove all references of Progressbar and works "fine"!@
MainWindow::MainWindow()
{
setupUi(this);connect(addressEdit, SIGNAL(returnPressed()), actionGo, SLOT(trigger())); connect(actionBack, SIGNAL(triggered()), WebBrowser, SLOT(GoBack())); connect(actionForward, SIGNAL(triggered()), WebBrowser, SLOT(GoForward())); connect(actionStop, SIGNAL(triggered()), WebBrowser, SLOT(Stop())); connect(actionRefresh, SIGNAL(triggered()), WebBrowser, SLOT(Refresh())); connect(actionHome, SIGNAL(triggered()), WebBrowser, SLOT(GoHome())); connect(actionSearch, SIGNAL(triggered()), WebBrowser, SLOT(GoSearch()));
// pb = new QProgressBar(statusBar());
// pb->setTextVisible(false);
// pb->hide();
// statusBar()->addPermanentWidget(pb);WebBrowser->dynamicCall("Navigate(\"qt.nokia.com\")");
}
@@
void MainWindow::on_WebBrowser_ProgressChange(int a, int b)
{
// if (a <= 0 || b <= 0) {
// pb->hide();
// return;
// }
// pb->show();
// pb->setRange(0, b);
// pb->setValue(a);
}
@ -
wrote on 27 Sept 2013, 08:56 last edited by
[quote author="dcbasso" date="1380215697"]I post the bug error there: QTCREATORBUG-10244.
See you.
[/quote]That's unfortunate. It is not a bug in QtCreator, but in the Qt documentation.
-
wrote on 27 Sept 2013, 12:08 last edited by
Thanks Andre, it's my first time on bug report at Qt.
Leena Miettinen already changed my reported bug and now Friedemann Kleint is looking.See you.
1/10