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 )