Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Adding LibPcac to Qt

    3rd Party Software
    2
    4
    2118
    Loading More Posts
    • 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
      original TBS last edited by

      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 Reply Quote 0
      • B
        belimawr last edited by

        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 Reply Quote 0
        • O
          original TBS last edited by

          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 Reply Quote 0
          • B
            belimawr last edited by

            I am happy for help you. :)

            1 Reply Last reply Reply Quote 0
            • First post
              Last post