Wireshark-dev: Re: [Wireshark-dev] Building QtShark with Autotools
From: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
Date: Sat, 19 Jan 2013 17:32:59 +0100
Hi Evans,

For information, build qtshark with Autotools is not longer problematic !
Only need ./autogen.sh && ./configure --with-qt && make
and it works !

(Thanks to Guy and Gerald !)


On Mon, Dec 24, 2012 at 5:02 PM, Evan Huus <eapache@xxxxxxxxx> wrote:
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@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe