From: Simon Rit Date: Thu, 19 May 2011 14:43:06 +0000 (+0200) Subject: Added compilation date to track whether this is a released binary or a X-Git-Tag: v1.2.1~10 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=e5c9e2ac449615c1930f85b174919db595ddbdd7;p=clitk.git Added compilation date to track whether this is a released binary or a manually compiled version --- diff --git a/vv/vvConfiguration.h.in b/vv/vvConfiguration.h.in index 65ada5f..36d3258 100644 --- a/vv/vvConfiguration.h.in +++ b/vv/vvConfiguration.h.in @@ -20,6 +20,5 @@ #define vv_configuration_h #define VV_VERSION "v@CPACK_PACKAGE_VERSION_MAJOR@.@CPACK_PACKAGE_VERSION_MINOR@.@CPACK_PACKAGE_VERSION_PATCH@" -#cmakedefine01 VV_RELEASED_BINARY #endif diff --git a/vv/vvRegisterForm.cxx b/vv/vvRegisterForm.cxx index c2bda0e..e39ffdd 100644 --- a/vv/vvRegisterForm.cxx +++ b/vv/vvRegisterForm.cxx @@ -40,6 +40,8 @@ void vvRegisterForm::sendData(){ url2.addQueryItem("os", osName->text().toUtf8()); url2.addQueryItem("vvVersion", VV_VERSION); url2.addQueryItem("architecture", ARCHITECTURE); + url2.addQueryItem("compilationDate", QString(__DATE__) + ", " + QString(__TIME__) ); + manager->get(QNetworkRequest(url2)); } void vvRegisterForm::accept(){