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. [solved]Adding LibPcap to Qt on ubuntu
Forum Update on Monday, May 27th 2025

[solved]Adding LibPcap to Qt on ubuntu

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 2.6k 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
    mehdi.nine
    wrote on 9 Jul 2013, 07:24 last edited by
    #1

    Hi, i install libpcap on ubuntu and use it,s function in c. my question is that how can i add it to qt qreator?

    1 Reply Last reply
    0
    • H Offline
      H Offline
      hpollak
      wrote on 9 Jul 2013, 08:40 last edited by
      #2

      There are 2 ways ( resulting in the same ) :

      Qt-Creator: right-click on your Project, select External library and follow the wizard

      or add manualy the inludepath, the librarypath and the library to your qmake project file

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mehdi.nine
        wrote on 10 Jul 2013, 06:49 last edited by
        #3

        hpollak thanks for your reply.
        @
        i download libpcap and compile it
        add lipcab.a as a external library as you said .
        @
        the problem has solved.

        1 Reply Last reply
        0

        1/3

        9 Jul 2013, 07:24

        • Login

        • Login or register to search.
        1 out of 3
        • First post
          1/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved