Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. QtWebEngine build with errors
QtWS25 Last Chance

QtWebEngine build with errors

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
qtwebenginebuild errorinstallraspberry eglfsraspberry pi 2
2 Posts 2 Posters 1.4k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by A Former User
    #1

    I am trying to compile qtwebengine for raspberry pi using
    [http://wiki.qt.io/RaspberryPi2EGLFS ](link url)

    AND

    the compilation terminates with following errors :

    .....
    ....
    .obj/qquickwebengineview.o:qquickwebengineview.cpp:function QQuickWebEngineView::webChannel(): error: undefined reference to 'QQmlWebChannel::QQmlWebChannel(QObject*)'
    collect2: error: ld returned 1 exit status
    make[2]: *** [../../lib/libQt5WebEngine.so.5.6.1] Error 1
    make[2]: Leaving directory `/home/gesar/pi-qt5.6/raspi/qtwebengine/src/webengine'
    make[1]: *** [sub-webengine-install_subtargets] Error 2
    make[1]: Leaving directory `/home/gesar/pi-qt5.6/raspi/qtwebengine/src'
    make: *** [sub-src-install_subtargets] Error 2
    

    Every other module is successfully build except qtwebengine.
    What am I missing?

    Please anyone help. I have been trying for 2 weeks

    M 1 Reply Last reply
    0
    • ? A Former User

      I am trying to compile qtwebengine for raspberry pi using
      [http://wiki.qt.io/RaspberryPi2EGLFS ](link url)

      AND

      the compilation terminates with following errors :

      .....
      ....
      .obj/qquickwebengineview.o:qquickwebengineview.cpp:function QQuickWebEngineView::webChannel(): error: undefined reference to 'QQmlWebChannel::QQmlWebChannel(QObject*)'
      collect2: error: ld returned 1 exit status
      make[2]: *** [../../lib/libQt5WebEngine.so.5.6.1] Error 1
      make[2]: Leaving directory `/home/gesar/pi-qt5.6/raspi/qtwebengine/src/webengine'
      make[1]: *** [sub-webengine-install_subtargets] Error 2
      make[1]: Leaving directory `/home/gesar/pi-qt5.6/raspi/qtwebengine/src'
      make: *** [sub-src-install_subtargets] Error 2
      

      Every other module is successfully build except qtwebengine.
      What am I missing?

      Please anyone help. I have been trying for 2 weeks

      M Offline
      M Offline
      mewster
      wrote on last edited by
      #2

      Old post but I had the same error; I had to build qtdeclarative BEFORE qwebchannel to solve this error.

      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