ERROR: Unknown module(s) in QT: script when building Qt Creator
<p>I have build Qt from source and now I am trying to build Qt Creator from source and get the following error: <code>Project ERROR: Unknown module(s) in QT: script</code>. I found <a href="https://forum.qt.io/topic/35794/building-qtcreator-error-unknown-module-s-in-qt-script" rel="nofollow">a similar thread</a> that suggested building qtscript library by running <code>make module-qtscript</code> manually. I did that from the Qt source folder and the build for the script library finished without any errors. However, I still get the same error when I try to prepare Qt Creator for build:</p>

<p><code>
$ qmake -r ../qt-creator/qtcreator.pro
Reading /home/aras/Projects/qt-creator/src/src.pro [/home/aras/Projects/qt-creator-build/src]
 Reading /home/aras/Projects/qt-creator/src/shared/qbs/src/lib/corelib/corelib.pro [/home/aras/Projects/qt-creator-build/src/shared/qbs/src/lib/corelib]
Project ERROR: Unknown module(s) in QT: script
</code></p>

<p>Locating <code>libQt5Script.so</code> finds it in my Qt source directory but not installed anywhere else on the system:</p>

<p><code>
$ locate libQt5Script.so
/home/aras/Projects/qt-everywhere-opensource-src-5.7.0/qtbase/lib/libQt5Script.so
/home/aras/Projects/qt-everywhere-opensource-src-5.7.0/qtbase/lib/libQt5Script.so.5
/home/aras/Projects/qt-everywhere-opensource-src-5.7.0/qtbase/lib/libQt5Script.so.5.7
/home/aras/Projects/qt-everywhere-opensource-src-5.7.0/qtbase/lib/libQt5Script.so.5.7.0
</code>
Here is my Qt version:</p>

<pre><code>$ qmake -v
QMake version 3.0
Using Qt version 5.7.0 in /usr/local/Qt-5.7.0/lib
</code></pre>

<p>I am following <a href="https://wiki.qt.io/Building_Qt_Creator_from_Git" rel="nofollow">this guide</a>. What else do I need to do to get past this error and build Qt Creator?</p>

<p><strong>Edit2</strong>
Here is my <code>config.status</code> file:</p>

<pre><code>:~/Projects/shared-build-qt5.7.0$ cat qtbase/config.status 
#!/bin/sh
/home/aras/Projects/qt-everywhere-opensource-src-5.7.0/qtbase/configure -prefix /usr/local/Qt-5.7.0 -opensource -confirm-license -debug-and-release "$@"
</code></pre>