Project ERROR: Unknown module(s)
-
wrote on 28 Jan 2022, 15:58 last edited by Panoss
I have an application which runs with Qt creator 2.7.0 (32 bit) in Win xp.
The same application I 'm trying to run it on Qt creator 6.0.2 Win 8.1 64 bit but I get this error:
:-1: error: Project ERROR: Unknown module(s) in QT: scriptThis is a screenshot from my Kits tab in Qt creator:
How can I fix it?
-
I have an application which runs with Qt creator 2.7.0 (32 bit) in Win xp.
The same application I 'm trying to run it on Qt creator 6.0.2 Win 8.1 64 bit but I get this error:
:-1: error: Project ERROR: Unknown module(s) in QT: scriptThis is a screenshot from my Kits tab in Qt creator:
How can I fix it?
wrote on 28 Jan 2022, 16:03 last edited by@Panoss said in Project ERROR: Unknown module(s):
Qt 2.7.0 (32 bit) in Win xp
Really? I would have thought Qt2 was 30 years old or similar?? You won't be able to run something written for Qt2 under Qt6....
-
wrote on 28 Jan 2022, 16:12 last edited by Panoss
On my 64 bit machine I have also installed Qt creator 2.7.0 so I will try with this one.
But how can I install a kit?
This is a screenshot from the tab Kits in Qt creator 2.7.0:I see no maintenance tool.
-
If you want to use QtScript in Qt6 you will be out of luck: "Warning: This module is not actively developed. It is provided for backwards compatibility with Qt 4 only. For new code, use QJSEngine and related classes in the Qt QML module instead."
And please update your ancient QtCreator, also Qt is not QtCreator, so ' Qt 2.7.0' is wrong.
-
On my 64 bit machine I have also installed Qt creator 2.7.0 so I will try with this one.
But how can I install a kit?
This is a screenshot from the tab Kits in Qt creator 2.7.0:I see no maintenance tool.
wrote on 28 Jan 2022, 16:19 last edited by@Panoss said in Project ERROR: Unknown module(s):
Qt creator 2.7.
You said Qt 2.7! Not Qt Creator, which is quite different and has different version numbering.
Others will tell you better, but it doesn't surprise me if there is no maintenance tool available for a 10-year-old Creator version.
-
wrote on 28 Jan 2022, 16:23 last edited by
Ok, Qt Creator 2.7.0.
(I also have the Qt creator 6.0.2, so no need to update).
I want ot run it on Qt Creator 2.7.0 because it can't run on Qt creator 6.0.2.So my problem is how to install a kit in Qt creator 2.7.0...
-
Lifetime Qt Championwrote on 28 Jan 2022, 16:29 last edited by Christian Ehrlicher
Again: What Qt version do you want to use? You can install a Qt version via the Qt online installer. But you will to stay at Qt5.15 since, as I wrote earlier, QtScript is removed in Qt6
I want ot run it on Qt Creator 2.7.0 because it can't run on Qt creator 6.0.2.
Please re-read this sentence ... what do you want to tell us here?
-
wrote on 28 Jan 2022, 16:37 last edited by Panoss
Look, I know my questions sound too 'niewby'. You don't have to answer anyway.
Can I use Qt creator 6.0.2 and install in it an older kit suitable for my case?
If this is it, you could just say so. -
Look, I know my questions sound too 'niewby'. You don't have to answer anyway.
Can I use Qt creator 6.0.2 and install in it an older kit suitable for my case?
If this is it, you could just say so.Lifetime Qt Championwrote on 28 Jan 2022, 16:40 last edited by Christian Ehrlicher@Panoss said in Project ERROR: Unknown module(s):
Can I use Qt creator 6.0.2 and install in it an older kit suitable for my case?
Again - what do you ask here?
QtCreator is an IDE, Qt is a C++ framework - already told you twice.
-
wrote on 28 Jan 2022, 16:45 last edited by
I tried to install Qt 5.15.0...
BUT I have not enough disk space (it requires 59.58 GB!!! for the temporary files...).
Project abandoned. -
You should install only the Qt version for your compiler, not simply selecting all...
-
You should install only the Qt version for your compiler, not simply selecting all...
wrote on 28 Jan 2022, 17:26 last edited by Panoss@Christian-Ehrlicher you were right.
Now this is what I have (I installed on Qt Creator 6.0.2 the Qt 5.15.0 MinGW64bit):What else must I do? I keep getting the same error.
-
wrote on 28 Jan 2022, 18:21 last edited by
-
Hi,
You have to install QtScript separately (check the content of the online installer). It was deprecated for 5.6 and removed from the pre-built binary since 5.7.
Worst case scenario, you have to build the module yourself.
-
Hi,
You have to install QtScript separately (check the content of the online installer). It was deprecated for 5.6 and removed from the pre-built binary since 5.7.
Worst case scenario, you have to build the module yourself.
-
Then clone and build the module.
-
@Panoss said in Project ERROR: Unknown module(s):
@SGaist there is nothing like QScript in the list of the online installer.
It's here
1/17