3 Commits

Author SHA1 Message Date
hans fb1a293e88 QtWebEngine select popup rendering issue observed with older Qt 6.x.
Symptom: native HTML <select> popup keeps growing/repainting while open;
QtWebEngine process busy, Racket process idle.
Resolved by upgrading to Qt 6.11.1.
2026-07-07 19:23:17 +02:00
hans 803d6edd41 Merge branch 'main' of https://git.dijkewijk.nl/hans/racket-webview-qt 2026-07-07 17:43:46 +02:00
hans 35b7bfe2e9 Migration to Qt 6.11.1 2026-07-07 17:43:27 +02:00
65 changed files with 60 additions and 3 deletions
+8
View File
@@ -1,3 +1,11 @@
# racket-webview-qt # racket-webview-qt
The Qt backend of racket-webview The Qt backend of racket-webview
# Version 0.2.2
QtWebEngine select popup rendering issue observed with older Qt 6.x.
Symptom: native HTML <select> popup keeps growing/repainting while open;
QtWebEngine process busy, Racket process idle.
Resolved by upgrading to Qt 6.11.1.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,48 @@
[
{
"name": "qtbase",
"repositories": ["qtbase", "qtactiveqt", "qtimageformats"]
},
{
"name": "qtdeclarative",
"repositories": ["qtdeclarative"]
},
{
"name": "qtmultimedia",
"repositories": ["qtmultimedia"]
},
{
"name": "qtconnectivity",
"repositories": ["qtconnectivity"]
},
{
"name": "qtlocation",
"repositories": ["qtlocation"]
},
{
"name": "qtwebsockets",
"repositories": ["qtwebsockets"]
},
{
"name": "qtserialport",
"repositories": ["qtserialport"]
},
{
"name": "qtwebengine",
"repositories": ["qtwebengine"]
},
{
"name": "designer",
"modules": ["Designer"]
},
{
"name": "linguist"
},
{
"name": "assistant"
},
{
"name": "qt_help",
"modules": ["Help"]
}
]
+3 -2
View File
@@ -20,7 +20,7 @@ int main(int argc, char *argv[])
std::string loc = basedir(me); std::string loc = basedir(me);
#ifdef _WIN32 #ifdef _WIN32
std::string prg = loc + "\\rktwebview_prg.exe"; std::string prg = loc + "\\rktwebview_prg.exe";
SetDllDirectoryA("C:\\Qt\\6.10.2\\msvc2022_64\\bin"); SetDllDirectoryA("C:\\Qt\\6.11.1\\msvc2022_64\\bin");
#else #else
std::string prg = loc + "/rktwebview_prg"; std::string prg = loc + "/rktwebview_prg";
#endif #endif
@@ -61,7 +61,8 @@ int main(int argc, char *argv[])
rkt_webview_move(wv, 100, 200); rkt_webview_move(wv, 100, 200);
rkt_webview_resize(wv, 800, 600); rkt_webview_resize(wv, 800, 600);
rkt_webview_set_url(wv, "https://wikipedia.org"); //rkt_webview_set_url(wv, "https://wikipedia.org");
rkt_webview_set_html(wv, "<html><head><title>Hi!</title></head><body><h1>Oke test</h1><select id=\"sel-lang\"><option value=\"nl\" selected>Nederlands</option><option value=\"en\">English</option></select><p>Ja</p></body></html>");
d = rkt_webview_info(); d = rkt_webview_info();
fprintf(stderr, "%s\n", d->data.metrics.log_file); fprintf(stderr, "%s\n", d->data.metrics.log_file);