WebView not showing html page
Posted
#1
(In Topic #1577)
Regular

Fedora Linux 42 (Workstation Edition) - Gnome
Gambas 3.20.4 with gb.gui.qt and gb..gui.qt.webview
The code
Code
WebView1.Url = "path to html file"
WebView1.Refreshhas anything changed?
Posted
Regular

https://forum.gambas.o…wtopic.php?p=10744#p10744
Posted
Administrator

This example you downloaded uses qt.webkit component and not qt.webview component (they are not the same but both have a WebView control)monteiro said
I downloaded and tested this example using qt5 and it worked well.
https://forum.gambas.o…wtopic.php?p=10744#p10744
Try the one below, it works for me on 3.19.6 and I tried on 3.20.99 (master). It explicitly uses qt5.webview component.
You might want to do a compile all before running as I made it in 3.19.6
Let me know if it works or not and we'll try to figure out what's going on.
gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
Posted
Regular

Thank you, Willy
Posted
Administrator

Your welcome.monteiro said
I tested it on 3.20.99 and worked flawless.
Thank you, Willy
I'm glad it worked
gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
1 guest and 0 members have just viewed this.


