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 SDK only have dll ? if i want to use the static lib, do i have to compile Qt all by myself?
Forum Updated to NodeBB v4.3 + New Features

Qt SDK only have dll ? if i want to use the static lib, do i have to compile Qt all by myself?

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

    Qt SDK only have dll ? if i want to use the static lib, do i have to compile Qt all by myself?
    And if so, i want to add all the Qt code into my VistualStudio solution and then I can easily build the Qt into dynamic Dll or static Lib.
    Is this possible? and is there any tutorial on this?
    I donot remember clearly now, if it should use "nmake" ect in VisualStudio cmd...is there any way to just simply compile the Qt in VisualStudio (such as normal dll/lib project), which may need set the arguments directly in VisualStudio Properties settings.

    //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    //dear SGaist
    //as i still can't Post reply, i temprarily reply here...
    i just want to make it easy for PC which doesnot install Qt SDK to build the whole VS solution.
    So i want to donot install the Qt SDK&Qt-Vs-Addin.
    That's why i want to add the Qt itself in to the VisualStudio solution as a project, and build into dynamic Dll or static Lib in VS easily, then other project in that solution can use the dll/lib.

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

      Hi,

      Yes you do have to build it yourself and also beware of the licensing issues that comes with a static build.

      You want to build the complete Qt framework as part of your project ?

      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

      • Login

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