Results 1 to 4 of 4

Thread: Qt and Pcap

  1. #1
    Join Date
    Nov 2008
    Posts
    23
    Thanks
    2

    Default Qt and Pcap

    Hi,

    Im very new to Qt. I am currently doing a project using libpcap in C on linux. As part of my project i need to create a gui and decided to choose qt to do this.

    I was just wondering if it is possible to implement pcap into qt?

    Any help would be appreaciated,
    Thank you

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt and Pcap

    I don't see any reasons why it shouldn't work. It's only important that you don't block the gui by continuously reading from libpcap.

  3. #3
    Join Date
    Nov 2008
    Posts
    23
    Thanks
    2

    Default Re: Qt and Pcap

    thank you

    i have followed a few tutorials but i do not know how to implement my code with qt.

    How would i be able to link pcap functions to a button or menu items?

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt and Pcap

    Use signals and slots.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.