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. [SOLVED] - Failed to compile qtwebengine - missing file
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] - Failed to compile qtwebengine - missing file

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 2 Posters 3.4k 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.
  • H Offline
    H Offline
    harchu
    wrote on last edited by
    #1

    Hi,
    I was following instructions on https://qt-project.org/wiki/Building-Qt-5-from-Git#0cc5cbb2903cf6911ac1b6e3aa032572 to get the source code and build qt5 on my mac (10.9). However, after running 'make', i get the error below:

    /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile.gyp_run.Debug all
    /Users/rharchandani/Documents/gitstuff/qt5/qtwebengine/src/3rdparty/ninja/ninja -C /Users/rharchandani/Documents/gitstuff/qt5/qtwebengine/src/core/Debug
    ninja: Entering directory `/Users/rharchandani/Documents/gitstuff/qt5/qtwebengine/src/core/Debug'
    ninja: error: '../../../src/3rdparty/chromium/base/test/expectations/expectation.cc', needed by 'obj/src/3rdparty/chromium/base/test/expectations/test_support_base.expectation.o', missing and no known rule to make it
    make[5]: *** [invoke_ninja] Error 1
    make[4]: *** [debug-all] Error 2
    make[3]: *** [sub-gyp_run-pro-make_first] Error 2
    make[2]: *** [sub-core-make_first] Error 2
    make[1]: *** [sub-src-make_first] Error 2
    make: *** [module-qtwebengine-make_first] Error 2

    Is there something i am missing?

    Thanks,
    Rohit

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

      Hi,

      Please check that you are using the dev branch and try again

      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
      • H Offline
        H Offline
        harchu
        wrote on last edited by
        #3

        Thanks..i was using the dev branch. the problem was that everything from the bin directory of my local Qt 5.3 install was on the PATH..once i removed it and tried to build it, it worked fine.

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

          Good !

          Since it's working now please update the thread title prepending [solved] so other forum users may know as solution has been found :)

          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

          • Login

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