Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Trying to build Qtwebengine on Debian Stretch...
Forum Updated to NodeBB v4.3 + New Features

Trying to build Qtwebengine on Debian Stretch...

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 1.9k Views 1 Watching
  • 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.
  • T Offline
    T Offline
    Thorkal
    wrote on last edited by
    #1

    Hi,

    I'm trying to build QTwebengine on Debian Stretch to get proprietary codecs support.
    qmake passes well, but when I try to compile (make), I get this error :

    ( test -e Makefile.gyp_run || /usr/lib/i386-linux-gnu/qt5/bin/qmake /home/thorkal/Téléchargements/qtwebengine/src/core/gyp_run.pro WEBENGINE_CONFIG+=use_proprietary_codecs -o Makefile.gyp_run ) && make -f Makefile.gyp_run 
    Project MESSAGE: Running gyp_qtwebengine "/home/thorkal/Téléchargements/qtwebengine/src/core" -D qt_cross_compile=0 -D qt_os="desktop_linux" -D pkg-config="pkg-config 2> /dev/null" -D use_qt=1 -D v8_use_external_startup_data=0 -D enable_basic_printing=1 -D enable_print_preview=0 -D enable_web_speech=0 -D enable_extensions=0 -D linux_use_bundled_gold=0 -D linux_use_bundled_binutils=0 -D linux_use_gold_flags=0 -D toolkit_uses_gtk=0 -D use_ash=0 -D use_aura=1 -D use_cairo=0 -D use_clipboard_aurax11=0 -D use_cups=0 -D use_gconf=0 -D use_gio=0 -D use_gnome_keyring=0 -D use_kerberos=0 -D use_pango=0 -D use_openssl=1 -D use_nss_certs=1 -D use_openssl_certs=0 -D no_delete_null_pointer_checks=1 -D use_system_zlib=1 -D use_system_libpng=1 -D use_system_libjpeg=1 -D use_system_harfbuzz=1 -D use_pulseaudio=1 -D use_alsa=1 -D use_system_libevent=1 -D use_system_libwebp=1 -D use_system_libsrtp=1 -D use_system_libxml=1 -D use_system_jsoncpp=1 -D use_system_opus=1 -D desktop_linux=1 -D enable_widevine=1 -D clang=0 -D host_clang=0 -D qtwe_process_name_debug=QtWebEngineProcess -D qtwe_process_name_release=QtWebEngineProcess -D disable_glibcxx_debug=1 -D remove_webcore_debug_symbols=1 -D remove_v8base_debug_symbols=1 -D disable_fatal_linker_warnings=1 -D sysroot="" -D target_arch=ia32 -D proprietary_codecs=1 -D ffmpeg_branding=Chrome -D enable_spellcheck=0.
    using python: /usr/bin/python version: 2.7.13
    Using extra options found in /home/thorkal/Téléchargements/qtwebengine/src/core/qmake_extras.gypi
    Using extra options found in /home/thorkal/Téléchargements/qtwebengine/src/core/qtwebengine_extras.gypi
    Using extra options found in /home/thorkal/Téléchargements/qtwebengine/src/core/qmake_extras.gypi
    Using extra options found in /home/thorkal/Téléchargements/qtwebengine/src/core/qtwebengine_extras.gypi
    Updating projects from gyp files...
    gyp: name 'icu_use_data_file_flag' is not defined while evaluating condition 'icu_use_data_file_flag==1' in /home/thorkal/Téléchargements/qtwebengine/src/core/core_generated.gyp
    Project ERROR: -- running gyp_qtwebengine failed --
    

    Does anybody know what I can do ?

    T 1 Reply Last reply
    0
    • T Thorkal

      Hi,

      I'm trying to build QTwebengine on Debian Stretch to get proprietary codecs support.
      qmake passes well, but when I try to compile (make), I get this error :

      ( test -e Makefile.gyp_run || /usr/lib/i386-linux-gnu/qt5/bin/qmake /home/thorkal/Téléchargements/qtwebengine/src/core/gyp_run.pro WEBENGINE_CONFIG+=use_proprietary_codecs -o Makefile.gyp_run ) && make -f Makefile.gyp_run 
      Project MESSAGE: Running gyp_qtwebengine "/home/thorkal/Téléchargements/qtwebengine/src/core" -D qt_cross_compile=0 -D qt_os="desktop_linux" -D pkg-config="pkg-config 2> /dev/null" -D use_qt=1 -D v8_use_external_startup_data=0 -D enable_basic_printing=1 -D enable_print_preview=0 -D enable_web_speech=0 -D enable_extensions=0 -D linux_use_bundled_gold=0 -D linux_use_bundled_binutils=0 -D linux_use_gold_flags=0 -D toolkit_uses_gtk=0 -D use_ash=0 -D use_aura=1 -D use_cairo=0 -D use_clipboard_aurax11=0 -D use_cups=0 -D use_gconf=0 -D use_gio=0 -D use_gnome_keyring=0 -D use_kerberos=0 -D use_pango=0 -D use_openssl=1 -D use_nss_certs=1 -D use_openssl_certs=0 -D no_delete_null_pointer_checks=1 -D use_system_zlib=1 -D use_system_libpng=1 -D use_system_libjpeg=1 -D use_system_harfbuzz=1 -D use_pulseaudio=1 -D use_alsa=1 -D use_system_libevent=1 -D use_system_libwebp=1 -D use_system_libsrtp=1 -D use_system_libxml=1 -D use_system_jsoncpp=1 -D use_system_opus=1 -D desktop_linux=1 -D enable_widevine=1 -D clang=0 -D host_clang=0 -D qtwe_process_name_debug=QtWebEngineProcess -D qtwe_process_name_release=QtWebEngineProcess -D disable_glibcxx_debug=1 -D remove_webcore_debug_symbols=1 -D remove_v8base_debug_symbols=1 -D disable_fatal_linker_warnings=1 -D sysroot="" -D target_arch=ia32 -D proprietary_codecs=1 -D ffmpeg_branding=Chrome -D enable_spellcheck=0.
      using python: /usr/bin/python version: 2.7.13
      Using extra options found in /home/thorkal/Téléchargements/qtwebengine/src/core/qmake_extras.gypi
      Using extra options found in /home/thorkal/Téléchargements/qtwebengine/src/core/qtwebengine_extras.gypi
      Using extra options found in /home/thorkal/Téléchargements/qtwebengine/src/core/qmake_extras.gypi
      Using extra options found in /home/thorkal/Téléchargements/qtwebengine/src/core/qtwebengine_extras.gypi
      Updating projects from gyp files...
      gyp: name 'icu_use_data_file_flag' is not defined while evaluating condition 'icu_use_data_file_flag==1' in /home/thorkal/Téléchargements/qtwebengine/src/core/core_generated.gyp
      Project ERROR: -- running gyp_qtwebengine failed --
      

      Does anybody know what I can do ?

      T Offline
      T Offline
      Thorkal
      wrote on last edited by
      #2

      small update :
      I just deleted the directory and cloned it again (version 5.10 this time), and I have this output from qmake :

      Cannot read /home/thorkal/Téléchargements/qtwebengine/qtwebengine-config.pri: No such file or directory
      /home/thorkal/Téléchargements/qtwebengine/mkspecs/features/platform.prf:68: 'qtConfig' is not a recognized test function.
      /home/thorkal/Téléchargements/qtwebengine/mkspecs/features/configure.prf:33: 'qtConfig' is not a recognized test function.
       
      Required gperf could not be found.
      QtWebEngine will not be built.
      

      The fact is I have gperf installed and present in /usr/bin

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi and welcome to devnet,

        Since you are using your distribution qmake, you should consider using the same version when building the module.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • T Offline
          T Offline
          Thorkal
          wrote on last edited by
          #4

          Okay, thank you. So my second post should be ignored, the right version for me is 5.7 and it's with this one that I have the error given in my first post

          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