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. Apparently successful build but missing modules
Qt 6.11 is out! See what's new in the release blog

Apparently successful build but missing modules

Scheduled Pinned Locked Moved Solved Installation and Deployment
4 Posts 2 Posters 703 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.
  • D Offline
    D Offline
    DirkDS
    wrote on last edited by
    #1

    Hi there,

    I want to build a demonstrator that our browser based app can run on linux within an qt 5.9.7 application environment (compiled with gcc/g++ 4.8.5). I managed to checkout sources from git, configure, make and make install it – apparently successful. I can generate a makefile with QtWidgets Include and Library paths using

    Qt += widgets
    

    In the project file. BUT I cannot generate a makefile referencing qtwebengine using

    Qt += webengine
    

    qmake says

    Project ERROR: Unknown module(s) in QT: webengine
    

    I found the config.log files in the module folders and have seen some failing tests in these files, esp also for webengine. I installed a lot of packages following instructions esp. from this site. Am I missing some important package requirements? Any help appreciated ....

    more qtwebengine/config.log  | grep "succ\|Error"
    

    test alsa succeeded
    test khr succeeded
    make[2]: *** [.obj/libvpx.o] Error 1
    make[2]: *** [.obj/re2.o] Error 1
    test snappy succeeded
    make[2]: *** [winversion] Error 1

    jsulmJ 1 Reply Last reply
    0
    • D DirkDS

      Hi there,

      I want to build a demonstrator that our browser based app can run on linux within an qt 5.9.7 application environment (compiled with gcc/g++ 4.8.5). I managed to checkout sources from git, configure, make and make install it – apparently successful. I can generate a makefile with QtWidgets Include and Library paths using

      Qt += widgets
      

      In the project file. BUT I cannot generate a makefile referencing qtwebengine using

      Qt += webengine
      

      qmake says

      Project ERROR: Unknown module(s) in QT: webengine
      

      I found the config.log files in the module folders and have seen some failing tests in these files, esp also for webengine. I installed a lot of packages following instructions esp. from this site. Am I missing some important package requirements? Any help appreciated ....

      more qtwebengine/config.log  | grep "succ\|Error"
      

      test alsa succeeded
      test khr succeeded
      make[2]: *** [.obj/libvpx.o] Error 1
      make[2]: *** [.obj/re2.o] Error 1
      test snappy succeeded
      make[2]: *** [winversion] Error 1

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

      @DirkDS said in Apparently successful build but missing modules:

      test alsa succeeded
      test khr succeeded
      make[2]: *** [.obj/libvpx.o] Error 1
      make[2]: *** [.obj/re2.o] Error 1
      test snappy succeeded
      make[2]: *** [winversion] Error 1

      This does not show the actual errors. Please post the errors.

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

      1 Reply Last reply
      0
      • D Offline
        D Offline
        DirkDS
        wrote on last edited by
        #3

        Hi, thank you for your reply.
        The error lines are in the log file are:

        libvpx.cpp:29:29: fatal error: vpx/svc_context.h: No such file or directory
        #include <vpx/svc_context.h>
        compilation terminated.

        re2.cpp:29:21: fatal error: re2/re2.h: No such file or directory
        #include <re2/re2.h>
        compilation terminated.

        /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o(.text+0x20): error: undefined reference to 'main'
        collect2: error: ld returned 1 exit status
        make[2]: *** [winversion] Error 1
        make[2]: Leaving directory `/home/gccp/code/qt5/qtwebengine/config.tests/winversion'
        test winversion FAILED

        1 Reply Last reply
        0
        • D Offline
          D Offline
          DirkDS
          wrote on last edited by
          #4

          Abbendum: In the meanwhile I ran in the qtwebengine folder

          qtwebengine> qmake -r
          

          (in addition to configure/make in the qt toplevel source directory) and learned from the output that I had to install a couple of more packages like fontconfig, xrandr ( libXrandr-devel on this centos machine )

          After the dependenciese where solved, qtwebengine was built and my problem seems to be solved. (I am just waiting for the compiler and will then mark this as solved).

          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