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. Setup executable creators
QtWS25 Last Chance

Setup executable creators

Scheduled Pinned Locked Moved Installation and Deployment
12 Posts 7 Posters 6.7k 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.
  • J Offline
    J Offline
    jorj
    wrote on last edited by
    #3

    Sounds cool, I will look into it and try to get some setups built!

    Thanks

    1 Reply Last reply
    0
    • L Offline
      L Offline
      luca
      wrote on last edited by
      #4

      For my projects I use statically linked library so I only need to give the executable.
      This is useful for me also because I always use the last stable qt library.
      With shared library you must provide the library every time you upgrade QT in your pc... I don't like so.

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jorj
        wrote on last edited by
        #5

        unfortunately this means you cant use plugins etc with you application, which is no good for me.

        But even if you only use static libraries you probably still need a setup for a professtional look, dont you?

        1 Reply Last reply
        0
        • L Offline
          L Offline
          luca
          wrote on last edited by
          #6

          I usually develop for linux on pc or embedded linux so I prefer to use a simple executable.
          I think a "Setup" is better for windows, for my experience.

          1 Reply Last reply
          0
          • J Offline
            J Offline
            jorj
            wrote on last edited by
            #7

            Yes definately mainly appropriate for desktops, especially as most mobile platforms have their own stores and auto installers now (i think? im not a big mobile developer).

            1 Reply Last reply
            0
            • U Offline
              U Offline
              ucomesdag
              wrote on last edited by
              #8

              On windows I use NSIS for Linux mostly provide a .deb and on Mac OS X a .dmg with the executable.

              Not yet seen an one for all solution that suited me. Anyway I have to compile for each platform so I created for each a script that grabs the latest stable build and packages it in a installer.

              Write “Qt”, not “QT” (QuickTime).

              1 Reply Last reply
              0
              • J Offline
                J Offline
                jorj
                wrote on last edited by
                #9

                a .deb sounds good, i hadn't actually considered it... And a script to produce the exes sounds like a good idea too...

                I haven't looked at NSIS before, ill have a google now!

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  sfilippidis
                  wrote on last edited by
                  #10

                  Indeed, a .dmg is the "proper" approach for Mac OS X. ;)

                  https://www.filippidis.name/

                  1 Reply Last reply
                  0
                  • R Offline
                    R Offline
                    Ramblurr
                    wrote on last edited by
                    #11

                    A setup utility is definitely not the proper way to go about it on Linux either. You should create distribution packages for your application. There are multiple advantages to doing this:

                    • Don't have to statically link or include shared libraries in your package
                    • Users can easily install your application much easier
                    • Your application will be installed in the correct sys location, rather then ~/ or /opt

                    Making packages for each and every Linux distro (or even just the popular ones) can be time consuming.

                    "Opensuse's build service":http://wiki.opensuse.org/openSUSE:Build_Service_supported_build_targets provides a pretty slick way to create packages automatically. You put in about the same amount of effort to create one distro package, but you'll end up with packages for all the popular distros.

                    Another thing you can do is enlist the help of the distro's packagers, usually by filing a bug report requesting your software to be packaged.

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      szh1
                      wrote on last edited by
                      #12

                      I use InnoSetup on Windows. It is free even for commercial projects. NSIS doesn't have a wizard, so you have to write the script by hand. On Linux, make a .rpm / .deb package, and on Mac, use a .dmg image.

                      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