Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Install Qtscript on Qt6.9
Forum Updated to NodeBB v4.3 + New Features

Install Qtscript on Qt6.9

Scheduled Pinned Locked Moved Solved Installation and Deployment
11 Posts 3 Posters 994 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    AntGP
    wrote last edited by
    #1

    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 ?

    Christian EhrlicherC 1 Reply Last reply
    0
    • A AntGP

      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 ?

      Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote last edited by
      #2

      @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.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      2
      • A Offline
        A Offline
        AntGP
        wrote last edited by
        #3

        "Unable to remove any of the QtScript "
        "where Qt6 functions have been added."

        it doesn't help much

        jsulmJ 1 Reply Last reply
        0
        • A AntGP

          "Unable to remove any of the QtScript "
          "where Qt6 functions have been added."

          it doesn't help much

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote last edited by jsulm
          #4

          @AntGP Then stay with Qt5 like @Christian-Ehrlicher suggested...
          As already said there is no QtScript in Qt6.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • A Offline
            A Offline
            AntGP
            wrote last edited by
            #5

            So ,according to you, there is now way to have Qt6 function and Script coexisting on the same project ?

            Christian EhrlicherC 1 Reply Last reply
            0
            • A AntGP

              So ,according to you, there is now way to have Qt6 function and Script coexisting on the same project ?

              Christian EhrlicherC Offline
              Christian EhrlicherC Offline
              Christian Ehrlicher
              Lifetime Qt Champion
              wrote last edited by
              #6

              @AntGP yes, we already told you twice...

              Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
              Visit the Qt Academy at https://academy.qt.io/catalog

              1 Reply Last reply
              1
              • A Offline
                A Offline
                AntGP
                wrote last edited by
                #7

                So i don't understand how the app have been compiled and is working

                jsulmJ 1 Reply Last reply
                0
                • A AntGP

                  So i don't understand how the app have been compiled and is working

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote last edited by
                  #8

                  @AntGP Are you sure it was built using Qt6 in 2022?

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  A 1 Reply Last reply
                  2
                  • jsulmJ jsulm

                    @AntGP Are you sure it was built using Qt6 in 2022?

                    A Offline
                    A Offline
                    AntGP
                    wrote last edited by AntGP
                    #9

                    @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

                    Christian EhrlicherC 1 Reply Last reply
                    0
                    • A 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

                      Christian EhrlicherC Offline
                      Christian EhrlicherC Offline
                      Christian Ehrlicher
                      Lifetime Qt Champion
                      wrote last edited by
                      #10

                      @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.

                      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                      Visit the Qt Academy at https://academy.qt.io/catalog

                      1 Reply Last reply
                      2
                      • A Offline
                        A Offline
                        AntGP
                        wrote last edited by AntGP
                        #11

                        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 Reply Last reply
                        0
                        • A AntGP has marked this topic as solved

                        • Login

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Users
                        • Groups
                        • Search
                        • Get Qt Extensions
                        • Unsolved