Project ERROR: Unknown module(s) in QT: script -- using prebuilt Qt with Qt Script module installed
-
Hello,
After following the advice I received from @SGaist in this thread, I have installed a prebuilt Qt 5.15.2 using the online installer.Now, when I point at my prebuilt Qt directory and try to build a fresh checkout of my application source, I am met with the qmake error: "Project ERROR: Unknown module(s) in QT: script"
However, I ensured I had selected Qt Script as one of the components to install in the online installer, and using the maintenance tool now, I can see that it is in fact installed. Was there an additional step I need to take that the online installer neglected to mention?
The .bat file I ran to set up my environment before attempting this looks like:
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64 echo Setting up a Qt environment... set QTVER=5.15.2 set MSVER=2015 set QTDIR=C:\Qt\prebuilt\5.15.2\winrt_x64_msvc2015 echo -- QTDIR set to %QTDIR% set PATH=%QTDIR%\bin;%PATH% echo -- Added %QTDIR%\bin to PATH set QMAKESPEC=winrt-x64-msvc2015 echo -- QMAKESPEC set to %QMAKESPEC%
-
Hi,
You selected the winrt mkspec, I have a doubt that the QtScript module is available for that variant. Can you check that ?