Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. [Solved] How do i create a static LIB

[Solved] How do i create a static LIB

Scheduled Pinned Locked Moved Qt Creator and other tools
5 Posts 2 Posters 2.2k Views
  • 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
    MaPet
    wrote on last edited by
    #1

    I need to build a static lib to include it in an other project.
    Is there something i have to take care about.

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

      Just setup the .pro file correctly:

      @
      TEMPLATE = lib
      CONFIG += staticlib
      @

      That's all.

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

      1 Reply Last reply
      0
      • M Offline
        M Offline
        MaPet
        wrote on last edited by
        #3

        oh. thats easy when you know that! thx a lot!

        PS.: status can set to solved!

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

          You can do that yourself. Just edit your very first post, the link is right to the post, below username and avatar, and prepend "[Solved]" to the topic.

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

          1 Reply Last reply
          0
          • M Offline
            M Offline
            MaPet
            wrote on last edited by
            #5

            done, thx

            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