Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. Adding LibPcac to Qt

Adding LibPcac to Qt

Scheduled Pinned Locked Moved 3rd Party Software
4 Posts 2 Posters 2.4k 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.
  • O Offline
    O Offline
    original TBS
    wrote on last edited by
    #1

    I would like to add the Pcap library to my -QT- Qt project but i do not know how to go about it.
    Would any one advice / help on how to do that (i will be using a windows platform)
    I cannot find any documentation about this.

    Thanks

    1 Reply Last reply
    0
    • B Offline
      B Offline
      belimawr
      wrote on last edited by
      #2

      Have you tried that:
      http://doc.qt.nokia.com/qtcreator-2.3/creator-project-qmake-libraries.html
      and http://doc.qt.nokia.com/4.7/qmake-project-files.html#declaring-other-libraries

      1 Reply Last reply
      0
      • O Offline
        O Offline
        original TBS
        wrote on last edited by
        #3

        Thanks mate @belimawr. The document was helpful
        I tried this and it works

        INCLUDEPATH += C:/Users/ST/Desktop/testingQT/WpdPack/Include

        win32:LIBS += C:/Users/ST/Desktop/testingQT/WpdPack/Lib/wpcap.lib

        win32:LIBS += C:/Users/ST/Desktop/testingQT/WpdPack/Lib/Packet.lib

        CONFIG += no_lflags_merge

        -And i used winPcap

        1 Reply Last reply
        0
        • B Offline
          B Offline
          belimawr
          wrote on last edited by
          #4

          I am happy for help you. :)

          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