Wireshark-dev: Re: [Wireshark-dev] Update Buildbot to add Qt support
From: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
Date: Fri, 20 Apr 2012 16:56:51 +0200


On Mon, Mar 19, 2012 at 6:03 PM, Gerald Combs <gerald@xxxxxxxxxxxxx> wrote:
We might want to simply add a top-level "make" target which triggers a
Qt build. It looks like Guy might be working on this if his last few
checkins are any indication.

I see the work of Guy but i don't work for me with Autotools
I use the following command :
./configure --with-qt
in ui/qt folder : qmake QtShark.pro
Making all in ui/qt
and make in the root of my wireshark build directory
make[2]: Entering directory `/home/alagoutte/wireshark-qt/ui/qt'
g++ -Wl,-O1 -o qtshark airpcap_loader.o alert_box.o capture-pcap-util.o capture.o capture_ifinfo.o capture_info.o capture_opts.o capture_sync.o capture_ui_utils.o cfile.o clopts_common.o color_filters.o disabled_protos.o file.o fileset.o filters.o frame_data_sequence.o g711.o merge.o packet-range.o print.o proto_hier_stats.o ps.o recent.o summary.o sync_pipe_write.o tap-megaco-common.o tap-rtp-common.o tempfile.o timestats.o u3.o util.o version_info.o capture-pcap-util-unix.o byte_view_tab.o byte_view_text.o capture_file_dialog.o capture_info_dialog.o capture_interface_dialog.o color_dialog.o color_utils.o display_filter_combo.o display_filter_edit.o fileset_dialog.o interface_tree.o main.o main_status_bar.o main_welcome.o main_window.o monospace_font.o packet_list.o packet_list_model.o packet_list_record.o progress_dialog.o proto_tree.o qt_ui_utils.o recent_file_status.o simple_dialog_qt.o wireshark_application.o label_stack.o moc_byte_view_tab.o moc_byte_view_text.o moc_capture_file_dialog.o moc_capture_info_dialog.o moc_capture_interface_dialog.o moc_color_dialog.o moc_color_utils.o moc_display_filter_combo.o moc_display_filter_edit.o moc_fileset_dialog.o moc_interface_tree.o moc_main_status_bar.o moc_main_welcome.o moc_main_window.o moc_packet_list.o moc_packet_list_model.o moc_progress_dialog.o moc_proto_tree.o moc_recent_file_status.o moc_simple_dialog_qt.o moc_wireshark_application.o moc_label_stack.o qrc_toolbar.o qrc_welcome.o qrc_display_filter.o qrc_i18n.o    -L/usr/lib/i386-linux-gnu -L../../lib -Wl,-rpath ../../lib -lwireshark -lwiretap -lwsutil -lpcap -lportaudio -lglib-2.0 -lz -lQtGui -lQtCore -lpthread
g++-4.6.real: error: ../../lib: No such file or directory
make[2]: *** [qtshark] Error 1


I have not problem when i use cmake !
Also it is not possible to have both ? (GTK and Qt ?)