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. Qt 5.2 Is Qt static?
Qt 6.11 is out! See what's new in the release blog

Qt 5.2 Is Qt static?

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 3 Posters 2.2k 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.
  • T Offline
    T Offline
    TEDSON
    wrote on last edited by
    #1

    In an article in FAQ I read that I need to determine if Qt is built statically.
    It went on to how, which was to type the following into command prompt while in Qt install folder...

    @cd C:\path\to\Qt
    configure -static // something about other flags here@

    Unfortunately I do not have a configure, either .bat, .exe or .com, either anywhere in Qt path or indeed anywhere on my computer.

    My goal is to statically link all possible dependencies to my final executable..

    I use Vs 2010 with add-in (all works fine and correctly to the best of my knowledge)

    The Qt I downloaded was for my 32 win7 with vs2010 install binary.

    Appreciate any help.

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

      Hi,

      No, Qt is never built statically for the packages as static linking introduce licensing issues (unless you're a commercial customer of Digia)

      If you want to build Qt, you first need to download the sources.

      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
      • T Offline
        T Offline
        TEDSON
        wrote on last edited by
        #3

        Thanks.

        I thought I had understood that you may not sell your statically linked executables, and if you distribute them you must include the licencing info.

        Thank your for your answer.

        1 Reply Last reply
        0
        • JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #4

          [quote author="TEDSON" date="1387491013"]I thought I had understood that you may not sell your statically linked executables, and if you distribute them you must include the licencing info.[/quote]Hi,

          The licenses talk about your obligations regarding sharing your source code. It doesn't restrict you from selling. See http://qt-project.org/forums/viewthread/24108

          Note: Licensing is a legal topic. You will need to talk to a lawyer to get valid legal advice. You can find opinions about the topic in this forum, but none of these opinions are relevant in court.

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          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