Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. QT webengine build error.
Forum Updated to NodeBB v4.3 + New Features

QT webengine build error.

Scheduled Pinned Locked Moved Unsolved QtWebEngine
4 Posts 2 Posters 523 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    Ferdinand Castelino
    wrote on last edited by
    #1

    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.
    ab73a6f3-7564-4d25-bec3-813c80ac9c38-image.png

    jsulmJ 1 Reply Last reply
    0
    • F Ferdinand Castelino

      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.
      ab73a6f3-7564-4d25-bec3-813c80ac9c38-image.png

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Ferdinand-Castelino said in QT webengine build error.:

      I have nss version 3.98

      Including its dev package?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • F Offline
        F Offline
        Ferdinand Castelino
        wrote on last edited by
        #3

        How do I add dev package to my sysroots. I have only the packages shown in above screenshot

        jsulmJ 1 Reply Last reply
        0
        • F Ferdinand Castelino

          How do I add dev package to my sysroots. I have only the packages shown in above screenshot

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @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.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved