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

Deleted

Scheduled Pinned Locked Moved General and Desktop
5 Posts 4 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Deleted

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Hi Chris!

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

      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
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4
                                Deleted
          
          1 Reply Last reply
          0
          • ? Offline
            ? Offline
            A Former User
            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 :-)

            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