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 958 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 AntGP
    24 days ago

    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 ?

    C Offline
    C Offline
    Christian Ehrlicher
    Lifetime Qt Champion
    wrote 24 days ago 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 24 days ago last edited by
      #3

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

      it doesn't help much

      J 1 Reply Last reply 24 days ago
      0
      • A AntGP
        24 days ago

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

        it doesn't help much

        J Offline
        J Offline
        jsulm
        Lifetime Qt Champion
        wrote 24 days ago 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 24 days ago last edited by
          #5

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

          C 1 Reply Last reply 24 days ago
          0
          • A AntGP
            24 days ago

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

            C Offline
            C Offline
            Christian Ehrlicher
            Lifetime Qt Champion
            wrote 24 days ago 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 24 days ago last edited by
              #7

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

              J 1 Reply Last reply 24 days ago
              0
              • A AntGP
                24 days ago

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

                J Offline
                J Offline
                jsulm
                Lifetime Qt Champion
                wrote 24 days ago 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 24 days ago
                2
                • J jsulm
                  24 days ago

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

                  A Offline
                  A Offline
                  AntGP
                  wrote 24 days ago 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

                  C 1 Reply Last reply 24 days ago
                  0
                  • A AntGP
                    24 days ago

                    @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

                    C Offline
                    C Offline
                    Christian Ehrlicher
                    Lifetime Qt Champion
                    wrote 24 days ago 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 23 days ago 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 23 days ago

                      11/11

                      22 May 2025, 08:58

                      • Login

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