Wireshark-dev: [Wireshark-dev] Building QtShark with Autotools
From: Evan Huus <eapache@xxxxxxxxx>
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