QT webengine build error.
-
Hi team,
I am using Qt 5.15.7 version which I have cross-compiled for am335x with Linux kernel version 5.10. I am not able to build QtEngine. I am getting "QtWebEngineCore module will not be built. A suitable version of nss required to build QtWebEngine could not be found." I have nss version 3.98 in my sysroots even though I am not able to compile. I have tried running ./configure command and also compiling QtWebEngine source either way I am facing same error. I have these in my sysroot.
I also tried adding nss LIBS manually to makefile and run.
-
@Ferdinand-Castelino said in QT webengine build error.:
I have nss version 3.98
Including its dev package?
-
How do I add dev package to my sysroots. I have only the packages shown in above screenshot
-
@Ferdinand-Castelino In the screen shots you show libraries, not packages.
How to add dev package depends on how you created the sysroot and what Linux distribution is running on your device. On Ubuntu this package is named "libnss3-dev". Dev packages contain header files and what else is needed to build software which uses a library, it is not enough to install the library itself.