Install Qtscript on Qt6.9
-
wrote 19 days ago last edited by
Hello,
I'm currently having an issue with the QtScript making me the error
:-1: error : Project ERROR: Unknown module(s) in QT: script
leading to this line :QT += widgets svg script xml
I'm working on Qt6.9 on a project with no documentation and no support. It is as old as 2013 from what i'v understood. The last time it was compiled and updated was in 2022, with a Qt6 where Qt6 functions have been added. Meaning that somehow script that is unsuported sins Qt4 and some Qt6 objects are coexisting on the same project
Unable to remove any of the QtScript or evolve them to QJSEngine because I'm not supposed to interact with the part of the project they are on (and absolutlly don't know why they are used for).
What are my solutions ?
Is there a way to have script for Qt6 ?
Is there a simple correspondance of script to QJSE allowing me to easly replace all Script methodes and objects ? -
Hello,
I'm currently having an issue with the QtScript making me the error
:-1: error : Project ERROR: Unknown module(s) in QT: script
leading to this line :QT += widgets svg script xml
I'm working on Qt6.9 on a project with no documentation and no support. It is as old as 2013 from what i'v understood. The last time it was compiled and updated was in 2022, with a Qt6 where Qt6 functions have been added. Meaning that somehow script that is unsuported sins Qt4 and some Qt6 objects are coexisting on the same project
Unable to remove any of the QtScript or evolve them to QJSEngine because I'm not supposed to interact with the part of the project they are on (and absolutlly don't know why they are used for).
What are my solutions ?
Is there a way to have script for Qt6 ?
Is there a simple correspondance of script to QJSE allowing me to easly replace all Script methodes and objects ?@AntGP said in Install Qtscript on Qt6.9:
What are my solutions ?
Stay with Qt 5 or remove the dependency to Qt Script. It was deprecated with Qt5 and removed in Qt6.
-
wrote 19 days ago last edited by
"Unable to remove any of the QtScript "
"where Qt6 functions have been added."it doesn't help much
-
"Unable to remove any of the QtScript "
"where Qt6 functions have been added."it doesn't help much
@AntGP Then stay with Qt5 like @Christian-Ehrlicher suggested...
As already said there is no QtScript in Qt6. -
wrote 19 days ago last edited by
So ,according to you, there is now way to have Qt6 function and Script coexisting on the same project ?
-
So ,according to you, there is now way to have Qt6 function and Script coexisting on the same project ?
@AntGP yes, we already told you twice...
-
wrote 19 days ago last edited by
So i don't understand how the app have been compiled and is working
-
@AntGP Are you sure it was built using Qt6 in 2022?
-
wrote 19 days ago last edited by AntGP
@jsulm It's the info i got... No one is still around to confirm this fact
I'm trying to install Qt5 to verify it, but i only have source code and i'm trying to navigate across the issue i have whit running Qt5.
Qt5 seem to doesn't look avalible to dowload from the installer. (and i have doubt i'll be able to build it)
I'll try to keep up to date this topic when i'm able to give more informations
-
@jsulm It's the info i got... No one is still around to confirm this fact
I'm trying to install Qt5 to verify it, but i only have source code and i'm trying to navigate across the issue i have whit running Qt5.
Qt5 seem to doesn't look avalible to dowload from the installer. (and i have doubt i'll be able to build it)
I'll try to keep up to date this topic when i'm able to give more informations
@AntGP said in Install Qtscript on Qt6.9:
It's the info i got...
This information is wrong - it's not compilable with Qt6 as there is no QtScript in Qt6 as already said.
-
wrote 18 days ago last edited by AntGP
Qt5 was the only solution indeed, but I needed to install some recent library, some that i had missintepreted for Qt6 library.
I inherited a mess of several Go of source code on which several peoples during more than 12 year have put their finger without leaving any documentation.
And the Qt installer did not help much, sins the base one doesn't allow to have Qt5, you need to have a mirror version to access archives, (i was trying to install Qt5 sins the first post of @jsulm )
To end the topic, if anyone have the same issue as me : Need to use QtScript but only have the most recent Qt and no way to install Qt5 : this post helped me too
https://forum.qt.io/topic/160611/installing-qt5-on-the-latest-online-installer/3 (where i just noticed that is was jsulm who gave the answer ) -
1/11