Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Deleted
Forum Updated to NodeBB v4.3 + New Features

Deleted

Scheduled Pinned Locked Moved General and Desktop
5 Posts 4 Posters 2.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.
  • C Offline
    C Offline
    Chris_12345
    wrote on last edited by
    #1

    Deleted

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lfdm
      wrote on last edited by
      #2

      Hi Chris!

      Does this help? http://stackoverflow.com/questions/718447/adding-external-library-into-qt-creator-project

      Damien LEFEVRE - http://www.lfdm.net

      1 Reply Last reply
      0
      • D Offline
        D Offline
        dbzhang800
        wrote on last edited by
        #3

        No, "include" used to include other project files ***.pri.

        all your need is
        @
        INCLUDEPATH += where-is-your-library-header
        LIBS += full-path-of-your-library
        @


        And Of Course, your can add above two lines to a .pri file, then include that .pri file to your pro file.

        Maybe this is useful for you: https://code.google.com/p/qextserialport/wiki/HowToUseLibrary

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

            #2 and #5 are correct. The amount of blanks between the += and the quotation mark doesn't matter.

            Also, please use proper @-tags for code formatting, otherwise the tags will show up as part of your code :-)

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

            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