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. Source build errors
Forum Updated to NodeBB v4.3 + New Features

Source build errors

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 307 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.
  • S Offline
    S Offline
    S_E_E_N_U
    wrote on 11 Dec 2023, 09:04 last edited by
    #1

    when i am build 5.12.5 source on ubuntu 16.04 geting error
    ninja: build stopped: subcommand failed.
    Makefile.gn_run:1195: recipe for target 'run_ninja' failed
    make[4]: *** [run_ninja] Error 1
    make[4]: Leaving directory '/home/sumanthch/Qt5.12.5/5.12.5/Src/qtwebengine/src/core'
    Makefile:82: recipe for target 'sub-gn_run-pro-make_first' failed
    make[3]: *** [sub-gn_run-pro-make_first] Error 2
    make[3]: Leaving directory '/home/sumanthch/Qt5.12.5/5.12.5/Src/qtwebengine/src/core'
    Makefile:80: recipe for target 'sub-core-make_first' failed
    make[2]: *** [sub-core-make_first] Error 2
    make[2]: Leaving directory '/home/sumanthch/Qt5.12.5/5.12.5/Src/qtwebengine/src'
    Makefile:48: recipe for target 'sub-src-make_first' failed
    make[1]: *** [sub-src-make_first] Error 2
    make[1]: Leaving directory '/home/sumanthch/Qt5.12.5/5.12.5/Src/qtwebengine'
    Makefile:1031: recipe for target 'module-qtwebengine-make_first' failed
    make: *** [module-qtwebengine-make_first] Error 2
    ​How to resolve this error

    S 1 Reply Last reply 11 Dec 2023, 09:24
    0
    • S S_E_E_N_U
      11 Dec 2023, 09:04

      when i am build 5.12.5 source on ubuntu 16.04 geting error
      ninja: build stopped: subcommand failed.
      Makefile.gn_run:1195: recipe for target 'run_ninja' failed
      make[4]: *** [run_ninja] Error 1
      make[4]: Leaving directory '/home/sumanthch/Qt5.12.5/5.12.5/Src/qtwebengine/src/core'
      Makefile:82: recipe for target 'sub-gn_run-pro-make_first' failed
      make[3]: *** [sub-gn_run-pro-make_first] Error 2
      make[3]: Leaving directory '/home/sumanthch/Qt5.12.5/5.12.5/Src/qtwebengine/src/core'
      Makefile:80: recipe for target 'sub-core-make_first' failed
      make[2]: *** [sub-core-make_first] Error 2
      make[2]: Leaving directory '/home/sumanthch/Qt5.12.5/5.12.5/Src/qtwebengine/src'
      Makefile:48: recipe for target 'sub-src-make_first' failed
      make[1]: *** [sub-src-make_first] Error 2
      make[1]: Leaving directory '/home/sumanthch/Qt5.12.5/5.12.5/Src/qtwebengine'
      Makefile:1031: recipe for target 'module-qtwebengine-make_first' failed
      make: *** [module-qtwebengine-make_first] Error 2
      ​How to resolve this error

      S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 11 Dec 2023, 09:24 last edited by
      #2

      @S_E_E_N_U this output does not contain any error information. Look before these lines to see what really is failing.

      In general I'd say this: try to compile with qmake instead. Back in those days (Qt 5.12), cmake support was not as good in building Qt as it is today.

      (Z(:^

      K 1 Reply Last reply 11 Dec 2023, 09:50
      1
      • S sierdzio
        11 Dec 2023, 09:24

        @S_E_E_N_U this output does not contain any error information. Look before these lines to see what really is failing.

        In general I'd say this: try to compile with qmake instead. Back in those days (Qt 5.12), cmake support was not as good in building Qt as it is today.

        K Offline
        K Offline
        kkoehne
        Moderators
        wrote on 11 Dec 2023, 09:50 last edited by
        #3

        As @sierdzio said, this doesn't show the actual error: Grep for something that contains 'error:'

        In general I'd say this: try to compile with qmake instead. Back in those days (Qt 5.12), cmake support was not as good in building Qt as it is today.

        I'm pretty sure that the OP was using configure ... make, so qmake (there was never the option to build Qt 5 itself with CMake). The error is from qtwebengine though, which uses gn/ninja for the Chromium parts. Not something you can change easily...

        Director R&D, The Qt Company

        S 1 Reply Last reply 11 Dec 2023, 09:56
        1
        • K kkoehne
          11 Dec 2023, 09:50

          As @sierdzio said, this doesn't show the actual error: Grep for something that contains 'error:'

          In general I'd say this: try to compile with qmake instead. Back in those days (Qt 5.12), cmake support was not as good in building Qt as it is today.

          I'm pretty sure that the OP was using configure ... make, so qmake (there was never the option to build Qt 5 itself with CMake). The error is from qtwebengine though, which uses gn/ninja for the Chromium parts. Not something you can change easily...

          S Offline
          S Offline
          sierdzio
          Moderators
          wrote on 11 Dec 2023, 09:56 last edited by
          #4

          @kkoehne ah right, makes sense. I was surprised to see ninja in Qt 5.12 but thought maybe I just don't remember that it was possible to use cmake. But now that's clear, this ninja call comes from one of the web modules which I don't use.

          (Z(:^

          1 Reply Last reply
          1

          1/4

          11 Dec 2023, 09:04

          • Login

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