Remove the package macros from qglobal.h
It's the wrong place to have these. Change-Id: I3b716317ba02ea2baf0f7053c8b16128e4c88e17 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
This commit is contained in:
parent
dcf4d152b5
commit
a2f705029c
56
configure
vendored
56
configure
vendored
@ -394,13 +394,6 @@ if [ -z "$QT_MAJOR_VERSION" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
QT_PACKAGEDATE=`grep '^# *define *QT_PACKAGEDATE_STR' "$relpath"/src/corelib/global/qglobal.h | sed -e 's,^# *define *QT_PACKAGEDATE_STR *"\([^ ]*\)"$,\1,' -e s,-,,g`
|
|
||||||
if [ -z "$QT_PACKAGEDATE" ]; then
|
|
||||||
echo "Unable to determine package date from qglobal.h: '$QT_PACKAGEDATE'"
|
|
||||||
echo "Cannot proceed"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
# check the license
|
# check the license
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
@ -3392,38 +3385,23 @@ elif [ "$Edition" != "OpenSource" ]; then
|
|||||||
if [ "$Today" -gt "$ExpiryDate" ]; then
|
if [ "$Today" -gt "$ExpiryDate" ]; then
|
||||||
case "$LicenseType" in
|
case "$LicenseType" in
|
||||||
Commercial|Academic|Educational)
|
Commercial|Academic|Educational)
|
||||||
if [ "$QT_PACKAGEDATE" -gt "$ExpiryDate" ]; then
|
echo
|
||||||
echo
|
echo "WARNING WARNING WARNING WARNING"
|
||||||
echo "NOTICE NOTICE NOTICE NOTICE"
|
echo
|
||||||
echo
|
echo " Your support and upgrade period has expired."
|
||||||
echo " Your support and upgrade period has expired."
|
echo
|
||||||
echo
|
echo " You may continue to use your last licensed release"
|
||||||
echo " You are no longer licensed to use this version of Qt."
|
echo " of Qt under the terms of your existing license"
|
||||||
echo " Please contact qt-info@nokia.com to renew your support"
|
echo " agreement. But you are not entitled to technical"
|
||||||
echo " and upgrades for this license."
|
echo " support, nor are you entitled to use any more recent"
|
||||||
echo
|
echo " Qt releases."
|
||||||
echo "NOTICE NOTICE NOTICE NOTICE"
|
echo
|
||||||
echo
|
echo " Please contact qt-info@nokia.com to renew your"
|
||||||
exit 1
|
echo " support and upgrades for this license."
|
||||||
else
|
echo
|
||||||
echo
|
echo "WARNING WARNING WARNING WARNING"
|
||||||
echo "WARNING WARNING WARNING WARNING"
|
echo
|
||||||
echo
|
sleep 3
|
||||||
echo " Your support and upgrade period has expired."
|
|
||||||
echo
|
|
||||||
echo " You may continue to use your last licensed release"
|
|
||||||
echo " of Qt under the terms of your existing license"
|
|
||||||
echo " agreement. But you are not entitled to technical"
|
|
||||||
echo " support, nor are you entitled to use any more recent"
|
|
||||||
echo " Qt releases."
|
|
||||||
echo
|
|
||||||
echo " Please contact qt-info@nokia.com to renew your"
|
|
||||||
echo " support and upgrades for this license."
|
|
||||||
echo
|
|
||||||
echo "WARNING WARNING WARNING WARNING"
|
|
||||||
echo
|
|
||||||
sleep 3
|
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
Evaluation|*)
|
Evaluation|*)
|
||||||
echo
|
echo
|
||||||
|
@ -55,10 +55,6 @@
|
|||||||
*/
|
*/
|
||||||
#define QT_VERSION_CHECK(major, minor, patch) ((major<<16)|(minor<<8)|(patch))
|
#define QT_VERSION_CHECK(major, minor, patch) ((major<<16)|(minor<<8)|(patch))
|
||||||
|
|
||||||
#define QT_PACKAGEDATE_STR "YYYY-MM-DD"
|
|
||||||
|
|
||||||
#define QT_PACKAGE_TAG ""
|
|
||||||
|
|
||||||
#if !defined(QT_BUILD_MOC)
|
#if !defined(QT_BUILD_MOC)
|
||||||
#include <QtCore/qconfig.h>
|
#include <QtCore/qconfig.h>
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user