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. CQtDeployer
Forum Updated to NodeBB v4.3 + New Features

CQtDeployer

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
14 Posts 5 Posters 2.7k Views 3 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.
  • H hobbyProgrammer

    I opened the CQtDeployer in my Qt Creator but it gave me the following error:

    Error while building/deploying project CQtDeployer (kit: Desktop Qt 5.12.3 MSVC2017 32bit)
    The kit Desktop Qt 5.12.3 MSVC2017 32bit has configuration issues which might be the root cause for this problem.
    When executing step "qmake"
    

    does anyone know how to fix this problem?

    I have absolutely no experience with qt deployment...

    jsulmJ Offline
    jsulmJ Offline
    jsulm
    Lifetime Qt Champion
    wrote on last edited by
    #2

    @hobbyProgrammer said in CQtDeployer:

    does anyone know how to fix this problem?

    Your Kit is broken.
    Open it in QtCreator (Tools/Options/Kits) and see what errors/warnings are shown there.
    Did you install Vsual Studio as you're using Qt for MSVC2017? And if you did, did you also select C++ stuff during installation?

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

    H 1 Reply Last reply
    1
    • jsulmJ jsulm

      @hobbyProgrammer said in CQtDeployer:

      does anyone know how to fix this problem?

      Your Kit is broken.
      Open it in QtCreator (Tools/Options/Kits) and see what errors/warnings are shown there.
      Did you install Vsual Studio as you're using Qt for MSVC2017? And if you did, did you also select C++ stuff during installation?

      H Offline
      H Offline
      hobbyProgrammer
      wrote on last edited by
      #3

      @jsulm I have Visual Studio installed and I did select C++ stuff during installation. The same kit works for other project.

      1 Reply Last reply
      0
      • J.HilkJ Offline
        J.HilkJ Offline
        J.Hilk
        Moderators
        wrote on last edited by
        #4

        Is CQtDeployer an official Qt Tool?

        If yes, than I haven't heard of it (shame on me)

        the "normal" way it to use the windeployqt tool


        Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


        Q: What's that?
        A: It's blue light.
        Q: What does it do?
        A: It turns blue.

        H 1 Reply Last reply
        0
        • J.HilkJ J.Hilk

          Is CQtDeployer an official Qt Tool?

          If yes, than I haven't heard of it (shame on me)

          the "normal" way it to use the windeployqt tool

          H Offline
          H Offline
          hobbyProgrammer
          wrote on last edited by
          #5

          @J-Hilk yes it is! (as you can see here)
          It is a tool to deploy an app to run on both linux and windows and I am looking for a way to deploy an app for Linux.
          I have managed to deploy for windows using windeployqt, but I really need it to be able to run on Linux.

          J.HilkJ 1 Reply Last reply
          0
          • H hobbyProgrammer

            @J-Hilk yes it is! (as you can see here)
            It is a tool to deploy an app to run on both linux and windows and I am looking for a way to deploy an app for Linux.
            I have managed to deploy for windows using windeployqt, but I really need it to be able to run on Linux.

            J.HilkJ Offline
            J.HilkJ Offline
            J.Hilk
            Moderators
            wrote on last edited by J.Hilk
            #6

            @hobbyProgrammer ah linux, not really my forte šŸ˜‰

            however the few times I made an application for it, I used
            https://github.com/probonopd/linuxdeployqt


            Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


            Q: What's that?
            A: It's blue light.
            Q: What does it do?
            A: It turns blue.

            H 1 Reply Last reply
            2
            • J.HilkJ J.Hilk

              @hobbyProgrammer ah linux, not really my forte šŸ˜‰

              however the few times I made an application for it, I used
              https://github.com/probonopd/linuxdeployqt

              H Offline
              H Offline
              hobbyProgrammer
              wrote on last edited by
              #7

              @J-Hilk can you use this on windows? Or do I need to deploy with this tool in Linux?

              J.HilkJ 1 Reply Last reply
              0
              • H hobbyProgrammer

                @J-Hilk can you use this on windows? Or do I need to deploy with this tool in Linux?

                J.HilkJ Offline
                J.HilkJ Offline
                J.Hilk
                Moderators
                wrote on last edited by
                #8

                @hobbyProgrammer windeployqt for windows and linuxdeployqt for linux and macdeployqr for macOS šŸ˜‰

                like the names suggest


                Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                Q: What's that?
                A: It's blue light.
                Q: What does it do?
                A: It turns blue.

                H 1 Reply Last reply
                0
                • J.HilkJ J.Hilk

                  @hobbyProgrammer windeployqt for windows and linuxdeployqt for linux and macdeployqr for macOS šŸ˜‰

                  like the names suggest

                  H Offline
                  H Offline
                  hobbyProgrammer
                  wrote on last edited by
                  #9

                  @J-Hilk yes, I understand that I should use those, but do I need a mac in order to deploy my application for mac?
                  Or am I also able to deploy for mac on a windows pc?

                  jsulmJ J.HilkJ 2 Replies Last reply
                  0
                  • H hobbyProgrammer

                    @J-Hilk yes, I understand that I should use those, but do I need a mac in order to deploy my application for mac?
                    Or am I also able to deploy for mac on a windows pc?

                    jsulmJ Offline
                    jsulmJ Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on last edited by
                    #10

                    @hobbyProgrammer said in CQtDeployer:

                    Or am I also able to deploy for mac on a windows pc?

                    No, you need a Mac to even build for Mac...

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

                    1 Reply Last reply
                    1
                    • H hobbyProgrammer

                      @J-Hilk yes, I understand that I should use those, but do I need a mac in order to deploy my application for mac?
                      Or am I also able to deploy for mac on a windows pc?

                      J.HilkJ Offline
                      J.HilkJ Offline
                      J.Hilk
                      Moderators
                      wrote on last edited by
                      #11

                      @hobbyProgrammer

                      yes, I understand that I should use those, but do I need a mac in order to deploy my application for Mac

                      Definitely, no way around it.

                      For Windows <-> Linux there are some cross platform compilers (but setting that up can be a pain as well, there isn't one for OSX


                      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                      Q: What's that?
                      A: It's blue light.
                      Q: What does it do?
                      A: It turns blue.

                      H 1 Reply Last reply
                      0
                      • J.HilkJ J.Hilk

                        @hobbyProgrammer

                        yes, I understand that I should use those, but do I need a mac in order to deploy my application for Mac

                        Definitely, no way around it.

                        For Windows <-> Linux there are some cross platform compilers (but setting that up can be a pain as well, there isn't one for OSX

                        H Offline
                        H Offline
                        hobbyProgrammer
                        wrote on last edited by hobbyProgrammer
                        #12

                        @J-Hilk okay, then I'll just try to deploy using windeployqt, linuxdeployqt and macdeployqt. Linuxdeployqt gives me an error. Error 340 'The host system is too new'. Has anyone ever had that? Should I install an older version of Ubuntu and/or Qt?
                        (I am using Ubuntu 18.04.3 and Qt 5.13.1)

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

                          Hi,

                          Search the issue list of the linuxdeployqt project. There's the rational behind the message and how to continue anyway explained.

                          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
                          • EndrII 0E Offline
                            EndrII 0E Offline
                            EndrII 0
                            wrote on last edited by EndrII 0
                            #14

                            @hobbyProgrammer
                            Hello
                            I am the author of the QtDeployer utility. This utility was written specifically to solve the problems you are trying to solve.
                            However, at the moment, the utility can create distributions only from the already created qt components.
                            this means that you must:

                            • Prepare the qt framework assembly using a cross-platform compiler.
                            • Build your project using a cross-platform compiler with the qt framework created in the 1st step.
                            • Using cqtdeployer to collect all dependencies into one distribution.

                            For the third step, only the cqtdeployer utility is suitable, because it is the only one that has its own ELF PE and QML parsers.
                            In the process of developing my programs, I use a Linux-based server to create applications for Windows and Linux.

                            You are not the first to try this way, so I’m thinking of writing an article on how to deploy applications on the same host for different platforms.

                            1 Reply Last reply
                            2

                            • Login

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