Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to release software which includes QtGraphicalEffects module and QtCharts module
Forum Updated to NodeBB v4.3 + New Features

How to release software which includes QtGraphicalEffects module and QtCharts module

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
18 Posts 2 Posters 5.9k Views 1 Watching
  • 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #6

    What exact error are you getting ?
    Also how did you install your application on that other machine ?

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

    1 Reply Last reply
    0
    • F Offline
      F Offline
      Fly Fan
      wrote on last edited by Fly Fan
      #7

      For dynamical releasing version, I use command line,windeployqt, to deploy my program.

      For static version, the .exe file is what I wan.

      In other machines which don't install Qt, interface cannot be displayed while the process of the software can be seen in Explorer.

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #8

        Are you shipping the QML modules you are using with your application like explained here ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        F 1 Reply Last reply
        0
        • SGaistS SGaist

          Are you shipping the QML modules you are using with your application like explained here ?

          F Offline
          F Offline
          Fly Fan
          wrote on last edited by
          #9

          @SGaist I‘m not sure. So I pasted the source code of my program’

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #10

            If you are only giving your executable then no, you are not shipping them. Are you using windeployqt on your application before distributing it ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            F 1 Reply Last reply
            0
            • SGaistS SGaist

              If you are only giving your executable then no, you are not shipping them. Are you using windeployqt on your application before distributing it ?

              F Offline
              F Offline
              Fly Fan
              wrote on last edited by
              #11

              @SGaist For dynamical version, I use command line "windeployqt --qmldir C:\Qt\Qt5.8.0\5.8\mingw53_32\qml" while Qt installed in the path -"C:\Qt". And the dynamical version failed to run on other macthines.

              For static version, I just release it.

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #12

                The --qmldiroption should point to your application QML sources folder.

                Even if static, you need to deploy the QML files.

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                F 1 Reply Last reply
                0
                • SGaistS SGaist

                  The --qmldiroption should point to your application QML sources folder.

                  Even if static, you need to deploy the QML files.

                  F Offline
                  F Offline
                  Fly Fan
                  wrote on last edited by
                  #13

                  @SGaist I have deployed my program by dynamical version. More information about my problem has been updated in the topic. I'm looking forward your reply again.

                  For static version, how to deploy the QML files. There is only one file for static version

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #14

                    Did you also run windployqt for your static application ?

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    F 1 Reply Last reply
                    0
                    • SGaistS SGaist

                      Did you also run windployqt for your static application ?

                      F Offline
                      F Offline
                      Fly Fan
                      wrote on last edited by
                      #15

                      @SGaist No, I just use the source code of Qt to make a new Qt version which can release a software staticaly. And the static configure command has been mentioned before in the topic.

                      1 Reply Last reply
                      0
                      • SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by
                        #16

                        Your application might be static but it still needs the QML files from the corresponding Qt modules hence you should still call windeployqt.

                        Interested in AI ? www.idiap.ch
                        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                        F 1 Reply Last reply
                        0
                        • SGaistS SGaist

                          Your application might be static but it still needs the QML files from the corresponding Qt modules hence you should still call windeployqt.

                          F Offline
                          F Offline
                          Fly Fan
                          wrote on last edited by
                          #17

                          @SGaist But, how?

                          1 Reply Last reply
                          0
                          • SGaistS Offline
                            SGaistS Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote on last edited by
                            #18

                            The same as you would on a build using the dynamic version of Qt.

                            Interested in AI ? www.idiap.ch
                            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                            1 Reply Last reply
                            0

                            • Login

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