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. Building Qt branch 4.7 || 4.8 from git for qml/3d: script.pro not found
Forum Updated to NodeBB v4.3 + New Features

Building Qt branch 4.7 || 4.8 from git for qml/3d: script.pro not found

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 3.1k 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.
  • P Offline
    P Offline
    pmat
    wrote on last edited by
    #1

    hi
    $ ./configure -opengl -developer-build
    $ make

    returns:

    @cd src/script/ && make -f Makefile
    /home/.../qt/bin/qmake-qt4 -spec ../../mkspecs/freebsd-g++ -o Makefile script.pro
    *** Error code 2
    g++ -c...
    ...
    Cannot find file: script.pro.
    *** Error code 2
    g++: ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp: No such file or directory
    g++: No input file specified
    *** Error code 1
    ...
    @
    got no idea where this error comes from, as script.pro is there and Makefile looks ok, compared to for ex. svg Makefile

    qmake is bootstraped version.

    a qt>4.7 development-build is required to compile qtquick-3d on FreeBSD-8.2-RELEASE amd64

    i know *bsd support got no high priority, any suggestions to get qml/3d still working?

    1 Reply Last reply
    0
    • P Offline
      P Offline
      pmat
      wrote on last edited by
      #2

      changing relative path in src/script/Makefile solves this error, but gets more "file not found" from g++ in javascriptcore

      how could it be that make changes current path as there is no big difference in src/script/Makefile compared to for ex. src/svg/Makefile apart from files to load

      edit:
      looks more like error comes from javascriptcore

      1 Reply Last reply
      0
      • A Offline
        A Offline
        avilla
        wrote on last edited by
        #3

        I'll post the solution, should anyone ever fall into this problem. The same issue exists when building QtWebKit.

        FreeBSD make(1) silently auto-descends into obj/ subdirectories, and there is one in src/script, that's why relative paths don't work from there. Setting MAKEOBJDIR=. fixes the issue (that's what we use in the official FreeBSD port).

        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