Slightly improve Edge webview backend setup instructions
Make it even more clear where should the files go and which files should be copied, to avoid any ambiguity.
This commit is contained in:
@@ -292,9 +292,12 @@ public:
|
||||
- Download the <a href="https://aka.ms/webviewnuget">WebView2 SDK</a>
|
||||
nuget package (Version 0.8.355 or newer)
|
||||
- Extract the package (it's a zip archive) to @c wxWidgets/3rdparty/webview2
|
||||
(you should have @c 3rdparty/webview2/build/native/include/WebView2.h
|
||||
file after unpacking it)
|
||||
- Enable @c wxUSE_WEBVIEW_EDGE in CMake or @c setup.h
|
||||
- Build wxWidgets webview library
|
||||
- Copy @c WebView2Loader.dll from @c wxWidgets/3rdparty/webview2/build/
|
||||
- Copy @c WebView2Loader.dll from the subdirectory corresponding to the
|
||||
architecture used (x86 or x64) of @c wxWidgets/3rdparty/webview2/build/
|
||||
to your applications executable
|
||||
- At runtime you can use wxWebView::IsBackendAvailable() to check if the
|
||||
backend can be used (it will be available if @c WebView2Loader.dll can be
|
||||
|
Reference in New Issue
Block a user