From 999bbc9b700543d92d6db7301b4893ebbcd883cc Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Tue, 10 Feb 2015 13:48:48 -0800 Subject: Qt: Add more version and packaging information to the main window. Add a "flavor" (for lack of a better word) banner, which can be set at build time via WIRESHARK_VERSION_FLAVOR / VERSION_FLAVOR. Set it to "Development Build" by default. This effectively migrates the "DEVELOPMENT VERSION" logo image text from the GTK+ UI. Add full release and automatic update information at the bottom. Remove the short version from the welcome banner (top left). To do: - Add back support for gui_version_placement. - Move the version and repository branch to the flavor label? - Add update links as appropriate to the bottom. - Clean up layout and spacing. Change-Id: I28af33e6c2beb855f803a2dfedef49f3e8389057 Reviewed-on: https://code.wireshark.org/review/7071 Reviewed-by: Gerald Combs --- cmakeconfig.h.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmakeconfig.h.in') diff --git a/cmakeconfig.h.in b/cmakeconfig.h.in index 01cb1bf4f9..2887c27c80 100644 --- a/cmakeconfig.h.in +++ b/cmakeconfig.h.in @@ -13,6 +13,8 @@ #define VERSION_MINOR ${PROJECT_MINOR_VERSION} #define VERSION_MICRO ${PROJECT_PATCH_VERSION} +#define VERSION_FLAVOR "${VERSION_FLAVOR}" + /* FIXME: Move the path stuff to the CMakeInstallDirs.cmake file */ /* Directory for data */ #define DATAFILE_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/${CPACK_PACKAGE_NAME}" -- cgit v1.2.3