Wireshark mailing list archives

Building QtShark with Autotools


From: Evan Huus <eapache () gmail com>
Date: Mon, 24 Dec 2012 11:02:26 -0500

The README.qt file mentions that this is problematic, so I thought I'd
share how I ended up doing it. This isn't the most elegant method, but
it worked for me :)

1. Build the regular wireshark code base with ./autogen.sh &&
./configure && make

2. Create a 'lib' directory in the root of the wireshark source tree
(this should just be `mkdir lib`).

3. Add the following symlinks to the lib directory (this is the hack):
libui.a -> ../ui/libui.a
libui_dirty.a -> ../ui/libui_dirty.a
libwireshark.so -> ../epan/.libs/libwireshark.so
libwireshark.so.0 -> ../epan/.libs/libwireshark.so.0
libwiretap.so -> ../wiretap/.libs/libwiretap.so
libwiretap.so.0 -> ../wiretap/.libs/libwiretap.so.0
libwsutil.so -> ../wsutil/.libs/libwsutil.so
libwsutil.so.0 -> ../wsutil/.libs/libwsutil.so.0

4. Open up Qt Creator, point it at QtShark.pro and everything should just work.

Cheers,
Evan
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: