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. [SOLVED] Deploying - Static linking vs Dynamic linking Qt5.2
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Deploying - Static linking vs Dynamic linking Qt5.2

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 3.1k 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.
  • M Offline
    M Offline
    maximus
    wrote on 31 Jan 2014, 12:52 last edited by
    #1

    I'm in the process of deploying my Qt app to my clients.
    I would like to understand more the choice that I have.

    I read from "here":http://qt-project.org/wiki/BuildingQtInstallers
    To link Qt statically to your application: This requires you to configure and build a static version of Qt. This, however, does mean that you cannot close your source code and reply on the LGPL. Instead, you will either have to open source your code, or acquire a commercial Qt license._

    Right now, I think that i'm deploying Qt statically to my test machine (I just copy the release folder on another machine and execute the .exe) "See project structure here":https://www.dropbox.com/s/z8gpif775beugsk/deploy1.png

    I don't want to have problem with the licensing, as my application will have a free version and some paid functionally (closed-source code). Is what I'm doing legal? Is putting the .dll in the same folder as the executable dynamic or static linking? I don't want my client to install Qt,

    Thanks a lot!

    Edit: I'm dump, dll = dynamic_link_library, guess i'm fine :)


    Free Indoor Cycling Software - https://maximumtrainer.com

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 1 Feb 2014, 06:51 last edited by
      #2

      Yes, using DLLs means you are linking dynamically. You are allowed to do this and are not violating LGPL. Good luck with your project!

      (Z(:^

      1 Reply Last reply
      0

      1/2

      31 Jan 2014, 12:52

      • Login

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