Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [SOLVED] Installing Qt application on windows
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Installing Qt application on windows

Scheduled Pinned Locked Moved General and Desktop
5 Posts 3 Posters 4.6k 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.
  • S Offline
    S Offline
    soroush
    wrote on last edited by
    #1

    Hi all

    I have a Qt application compiled on Linux and Windows. I packaged it into rpm and debian, they work:-) But I don't know how do I create a installer for windows. I found some free installer creator softwares with googling but problem is that the program won't work on the target computer if Qt's libraries was not installed there. (In linux adding dependencies solves problem).

    So do I need to add all Qt's .dlls to installation directory and pack them via installer creator? It seems not to be a good idea!

    1 Reply Last reply
    0
    • G Offline
      G Offline
      gedd
      wrote on last edited by
      #2

      You have answered yourself :

      bq. the program won’t work on the target computer if Qt’s libraries was not installed there.

      A Qt application needs Qt dlls, so you have to install them. No need to "pack" them just copy

      Gedd

      1 Reply Last reply
      0
      • S Offline
        S Offline
        soroush
        wrote on last edited by
        #3

        Ok, I wondered if there is any official installer for Qt or not? I will be happy to know if user have installed Qt before or not. and if possible don't re-copy dlls (just use that one is already there - probably by looking up some key in registery). For example if somebody installs my application, he will have a considerable size of libraries copied into installation directory of my app. if somebody else write another application with Qt and distribute it, and user installs that one too, he will have same libraries copied twice...

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

          Probably "this":http://developer.qt.nokia.com/wiki/BuildingQtInstallers article might help you.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            soroush
            wrote on last edited by
            #5

            Thanks !

            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