You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error copying directory from "/path-to-status-react/node_modules/react-native/ReactQt/runtime/src/qmldir" to "/path-to-status-react/desktop/lib/React".
Can be solved by re-running `npm install react-native` which put the `ReactQt/runtime/src/qmldir` file back.
14
17
15
18
### Missing web3 package issue
16
19
17
20
After last upgrade of react-native-desktop to the v.0.53.3 of original react-native appeared some incompatibility between `react-native` and `web3` packages on npm install. Initially it installed usually fine, but after `react-native desktop` command execution `web3` package is get removed from `node_modules`. Manual install of web3 by `npm install web3` installs `web3` package, but removes `react-native` package. Workaround or solution?
18
21
19
22
### ReactButton.qml non-existent property "elide" error upon startup
23
+
20
24
```
21
25
qrc:/qml/ReactButton.qml:33: Error: Cannot assign to non-existent property "elide"
22
26
"Component for qrc:/qml/ReactWebView.qml is not loaded"
@@ -25,4 +29,17 @@ QQmlComponent: Component is not ready
25
29
"Can't create QML item for componenet qrc:/qml/ReactWebView.qml"
26
30
"RCTWebViewView" has no view for inspecting!
27
31
```
32
+
28
33
Solution: make sure that QtWebEngine components are installed.
34
+
35
+
### Could not find a package configuration file provided by "Qt5WebKit"
36
+
For Mac and Linux `react-native-desktop` uses Qt WebEngine module to implement `WebView` component.
37
+
38
+
Ufortunately Qt doesn't support Qt WebEngine on Windows with MinGW, only with MSVC. And so far `react-native-desktop` supports only MinGW builds.
39
+
40
+
To overcome this problem on Windows we have `WebView` implemented with QTWebKit. But this module is outdated and not installed with Qt by default.
41
+
Currently there is [issue opened](https://github.com/status-im/react-native-desktop/issues/222) to support MSVC on Windows. That will eventually fix the problem.
42
+
43
+
Until MSVC supported you have 2 options:
44
+
- Build QT5WebKit locally. Process described here - https://github.com/MaxRis/webkit/wiki/Building-QtWebKit-on-Windows-(Conan)
45
+
- Disable dependency on Qt5WebKit by changing this CMake option - https://github.com/status-im/react-native-desktop/blob/master/CMakeLists.txt#L28 (probably, you will need manually to clean up all generated CMake cache files to allow new option value to be applied correctly). You wont't be able to use `WebView`, but all other components will work.
0 commit comments