QT5 Cross Compiling for Webassembly
-
Cross compiling:
Not sure if in the correct place to ask this question - please guide.
Compiling as per:
./configure -recheck-all -opensource -egl -opengl es2 -xplatform wasm-emscripten -prefix /opt/Qt-Static
Getting:
Note: Using static linking will disable the use of dynamically
loaded plugins. Make sure to import all needed static plugins,
or compile needed modules into the library.Note: No wayland-egl support detected. Cross-toolkit compatibility disabled.
WARNING: Cross compiling without sysroot. Disabling pkg-config
WARNING: QDoc will not be compiled, probably because libclang could not be located. This means that you cannot build the Qt documentation.
Either ensure that llvm-config is in your PATH environment variable, or set LLVM_INSTALL_DIR to the location of your llvm installation.
On Linux systems you may be able to install libclang from a package. On macOS you could
use Homebrew's llvm package.
On Windows you need to set LLVM_INSTALL_DIR to the installation path.Qt is now configured for building. Just run 'make'.
Once everything is built, you must run 'make install'.
Qt will be installed into '/opt/Qt-Static'.Prior to reconfiguration, make sure you remove any leftovers from
the previous build.NB: libEGL.so and linkages seem correct?
ian@desktop:~/Apps/QtWorld/qt5$ ls -la /usr/lib/x86_64-linux-gnu/libE*
lrwxrwxrwx 1 root root 20 Jan 17 13:36 /usr/lib/x86_64-linux-gnu/libEGL_mesa.so.0 -> libEGL_mesa.so.0.0.0
-rw-r--r-- 1 root root 267512 Jan 17 13:36 /usr/lib/x86_64-linux-gnu/libEGL_mesa.so.0.0.0
lrwxrwxrwx 1 root root 15 Aug 10 07:50 /usr/lib/x86_64-linux-gnu/libEGL.so -> libEGL.so.1.1.0
lrwxrwxrwx 1 root root 15 Aug 10 07:50 /usr/lib/x86_64-linux-gnu/libEGL.so.1 -> libEGL.so.1.1.0
-rw-r--r-- 1 root root 80448 Aug 10 07:50 /usr/lib/x86_64-linux-gnu/libEGL.so.1.1.0**Can't seem to find a resolution anywhere. Am I out to lunch? Please guide.
My system:
ian@desktop:~/Apps/QtWorld/qt5$ uname -a
Linux desktop 4.19.0-1-amd64 #1 SMP Debian 4.19.12-1 (2018-12-22) x86_64 GNU/Linux**Any direction would be very much appreciated.
Thx
-
Hi and welcome to devnet,
What is exactly your problem ?
-
@icjohnsoia said in QT5 Cross Compiling for Webassembly:
Note: No wayland-egl support detected. Cross-toolkit compatibility disabled.
QT won't compile with cross compiling enabled?
-
You don't show any specific failure so it doesn't help to give you any clue.
-
Why would anyone need to compile QuickTime Player for WebAssembly.