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

Deployment on windows

Scheduled Pinned Locked Moved Installation and Deployment
6 Posts 4 Posters 2.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.
  • W Offline
    W Offline
    willypuzzle
    wrote on last edited by
    #1

    What a user can do to deploy a qt app in a Windows QtSDK-less machine? Does he have to install all enormous libraries? I tried to compile statically my qt app but I failed.
    Please help me.
    Regards
    Willy

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

      The "Deploying an Application on Windows":http://doc.qt.nokia.com/stable/deployment-windows.html page of the docs has the instructions. You must provide all the libs yourself.

      http://www.catb.org/~esr/faqs/smart-questions.html

      1 Reply Last reply
      0
      • W Offline
        W Offline
        willypuzzle
        wrote on last edited by
        #3

        Thanks very much, I visited that page but I didn't take it right look

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mohsen
          wrote on last edited by
          #4

          you just have to copy those libraries needed for your application to run inside your application's directory.
          but first you'll need to compile your application via VS2008.

          1 Reply Last reply
          0
          • ZlatomirZ Offline
            ZlatomirZ Offline
            Zlatomir
            wrote on last edited by
            #5

            mohsen: What's with VS2008? Because willypuzzle didn't said anything about Visual Studio.
            You need to compile the application with the same compiler you used to compile the framework

            willypuzzle: the runtime for Qt isn't that enormous, usually you don't need the whole framework for your application just copy the modules you used, like for example: QtCore4.dll and QtGui4.dll (they have ~12MB) and the runtime for your C++ compiler (the proper vcredist in case of VS, or mingwm10.dll and libgcc_s_dw2-1.dll in case of MingW)

            https://forum.qt.io/category/41/romanian

            1 Reply Last reply
            0
            • W Offline
              W Offline
              willypuzzle
              wrote on last edited by
              #6

              Yes I saw, I compiled all with QtCreator. I didn't have problem with libraries but with plugins. Now I solved.

              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