diff options
author | Jörg Mayer <jmayer@loplof.de> | 2012-02-02 12:04:22 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2012-02-02 12:04:22 +0000 |
commit | 137f3fc4557e069ab3d66048f1cbf0acca086673 (patch) | |
tree | a3e7701ce4eb06d14fe10782d1a45867c0cf006a /ui/qt | |
parent | 2d7a4646e22b534803fa7ca1480912e68cd97ba3 (diff) |
- Move setting _U_ into config.h, because
a) C++ has a standardized way of marking parameters as unused
b) cmakes autoquoting magic failed when the compiler wasn't gcc
but moc instead.
- qtshark: Don't try to compile the c source files inside ui/qt/
- qtshark: Only run moc on the files that need it.
- qtshark: It's too early to try any of the new qtshark files
as clean.
- Make Qt detection actually work
- Add C++ to the list of languages for this project
svn path=/trunk/; revision=40807
Diffstat (limited to 'ui/qt')
-rw-r--r-- | ui/qt/CMakeLists.txt | 47 |
1 files changed, 6 insertions, 41 deletions
diff --git a/ui/qt/CMakeLists.txt b/ui/qt/CMakeLists.txt index 55da90451a..c7cc2cc767 100644 --- a/ui/qt/CMakeLists.txt +++ b/ui/qt/CMakeLists.txt @@ -21,43 +21,6 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # - -set(QTSHARK_C_SRC - ../../airpcap_loader.c - ../../alert_box.c - ../../capture-pcap-util.c - ../../capture.c - ../../capture_ifinfo.c - ../../capture_info.c - ../../capture_opts.c - ../../capture_sync.c - ../../capture_ui_utils.c - ../../cfile.c - ../../clopts_common.c - ../../color_filters.c - ../../disabled_protos.c - ../../file.c - ../../fileset.c - ../../filters.c - ../../frame_data_sequence.c - ../../g711.c - ../../merge.c - ../../packet-range.c - ../../print.c - ../../proto_hier_stats.c - ../../ps.c - ../../recent.c - ../../summary.c - ../../sync_pipe_write.c - ../../tap-megaco-common.c - ../../tap-rtp-common.c - ../../tempfile.c - ../../timestats.c - ../../u3.c - ../../util.c - ../../version_info.c -) - # All .h files which inherit from QObject aka which use the Q_OBJECT macro # need to go here. set(QTSHARK_H_SRC @@ -79,13 +42,15 @@ set(QTSHARK_H_SRC monospace_font.h packet_list.h packet_list_model.h - packet_list_record.h progress_dialog.h proto_tree.h - qt_ui_utils.h recent_file_status.h simple_dialog_qt.h wireshark_application.h + + # No Q_OBJECT: + # packet_list_record.h + # qt_ui_utils.h ) set(QTSHARK_CPP_SRC @@ -118,7 +83,6 @@ set(QTSHARK_CPP_SRC ) set(QTSHARK_SRC - ${QTSHARK_C_SRC} ${QTSHARK_CPP_SRC} ) @@ -131,7 +95,8 @@ QT4_WRAP_UI(QTSHARK_UI_SRC ${QTSHARK_UI}) QT4_WRAP_CPP(QTSHARK_MOC_SRC ${QTSHARK_H_SRC}) set(CLEAN_FILES - ${QTSHARK_SRC} + # It's too early to care about clean files + # ${QTSHARK_SRC} ) if (WERROR) |