diff options
author | Jaap Keuter <jaap.keuter@xs4all.nl> | 2016-03-28 16:39:44 +0200 |
---|---|---|
committer | Jaap Keuter <jaap.keuter@xs4all.nl> | 2016-03-29 15:21:19 +0000 |
commit | 1fe8d892dd57a1a2268264ff544397658366908d (patch) | |
tree | 4ecef03145402887ca6b7b123754e765490660d9 | |
parent | 26f3a9aa844924fe4a7d89982d3c4b0dce440a7c (diff) | |
download | wireshark-1fe8d892dd57a1a2268264ff544397658366908d.tar.gz wireshark-1fe8d892dd57a1a2268264ff544397658366908d.tar.bz2 wireshark-1fe8d892dd57a1a2268264ff544397658366908d.zip |
Update min. GLib version and add Qt version checks
The document describes why and how to version check, but
1) is not up to date with respect to minimum GLib version
2) does not yet mention Qt version requirement and check.
This change addresses both issues.
Change-Id: Ibb56c02cf48f6a4c6270b20686ca4d6e8aaf99d1
Reviewed-on: https://code.wireshark.org/review/14669
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
-rw-r--r-- | doc/README.developer | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/README.developer b/doc/README.developer index 1cdc41f8c1..4d85df71a8 100644 --- a/doc/README.developer +++ b/doc/README.developer @@ -394,11 +394,11 @@ tmpnam is insecure and should not be used any more. Wireshark brings its own mkstemp implementation for use on platforms that lack mkstemp. Note: mkstemp does not accept NULL as a parameter. -Wireshark supports platforms with GLib 2.14[.x]/GTK+ 2.12[.x] or newer. -If a Glib/GTK+ mechanism is available only in Glib/GTK+ versions newer -than 2.14/2.12 then use "#if GLIB_CHECK_VERSION(...)" or "#if -GTK_CHECK_VERSION(...)" to conditionally compile code using that -mechanism. +Wireshark supports platforms with GLib 2.16[.x]/GTK+ 2.12[.x]/Qt 4.7[.x] or +newer. If a Glib/GTK+/Qt mechanism is available only in Glib/GTK+/Qt +versions newer than 2.16/2.12/4.7 then use "#if GLIB_CHECK_VERSION(...)", +"#if GTK_CHECK_VERSION(...)" or "#if QT_VERSION_CHECK(...)" to conditionally +compile code using that mechanism. When different code must be used on UN*X and Win32, use a #if or #ifdef that tests _WIN32, not WIN32. Try to write code portably whenever |