#include <qcoreevent.h>
#include <qdatetime.h>
#include <qlibraryinfo.h>
#include <qobject.h>
#include <qcoreapplication.h>
#include "stdio.h"
#include "stdlib.h"
#include "qconfig_eval.cpp"
Go to the source code of this file.
◆ KILL_DELAY
#define KILL_DELAY 60 * 1000 * 1 |
◆ WARN_TIMEOUT
#define WARN_TIMEOUT 60 * 1000 * 119 |
◆ qt_eval_days_left()
static int qt_eval_days_left |
( |
| ) |
|
|
static |
Definition at line 115 of file qtcore_eval.cpp.
Referenced by qt_eval_string(), and QCoreFuriCuri::timerEvent().
int daysTo(const QDate &) const
Returns the number of days from this date to d (which is negative if d is earlier than this date)...
The QDate class provides date functions.
Q_DECL_CONSTEXPR const T & qMax(const T &a, const T &b)
static int qt_eval_is_supported()
static QDate currentDate()
Returns the current date, as reported by the system clock.
static QDate buildDate()
Returns the installation date for this build of Qt.
◆ qt_eval_is_supported()
static int qt_eval_is_supported |
( |
| ) |
|
|
static |
Definition at line 91 of file qtcore_eval.cpp.
Referenced by QCoreFuriCuri::QCoreFuriCuri(), qt_eval_days_left(), and qt_eval_string().
93 const volatile char *
const license_key = qt_eval_key_data + 12;
96 if (!qt_eval_key_data[0] || !*license_key)
100 const volatile char *typecode = license_key;
102 for ( ; field && *typecode; ++typecode)
103 if (*typecode ==
'-')
106 if (!field && typecode[1] ==
'4' && typecode[2] ==
'M') {
107 if (typecode[0] ==
'Q')
109 else if (typecode[0] ==
'R' || typecode[0] ==
'Z')
◆ qt_eval_string()
Definition at line 125 of file qtcore_eval.cpp.
Referenced by QCoreFuriCuri::timerEvent().
static QString licensee()
Returns the person to whom this build of Qt is licensed.
static int qt_eval_days_left()
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
The QString class provides a Unicode character string.
static int qt_eval_is_supported()
#define QT_VERSION_STR
This macro expands to a string that specifies Qt's version number (for example, "4.
QString arg(qlonglong a, int fieldwidth=0, int base=10, const QChar &fillChar=QLatin1Char(' ')) const Q_REQUIRED_RESULT
static QString fromLatin1(const char *, int size=-1)
Returns a QString initialized with the first size characters of the Latin-1 string str...
static const char boilerplate_unsuported[]
static const char boilerplate_supported[]
◆ boilerplate_expired
const char boilerplate_expired[] |
|
static |
Initial value:=
"This software is using the trial version of the Qt GUI toolkit.\n"
"The trial period has expired. If you need more time to\n"
"evaluate Qt, or if you have any questions about Qt, contact us\n"
"at: http://qt.nokia.com/about/contact-us.\n\n"
Definition at line 76 of file qtcore_eval.cpp.
Referenced by QCoreFuriCuri::timerEvent().
◆ boilerplate_supported
const char boilerplate_supported[] |
|
static |
Initial value:=
"\nQt %1 Evaluation License\n"
"Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).\n"
"All rights reserved.\n\n"
"This trial version may only be used for evaluation purposes\n"
"Registered to:\n"
" Licensee: %2\n\n"
"The evaluation expires in %4 days\n\n"
"Contact http://qt.nokia.com/about/contact-us for pricing and purchasing information.\n"
Definition at line 66 of file qtcore_eval.cpp.
Referenced by qt_eval_string().
◆ boilerplate_unsuported
const char boilerplate_unsuported[] |
|
static |
Initial value:=
"\nQt %1 Evaluation License\n"
"Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).\n"
"All rights reserved.\n\n"
"This trial version may only be used for evaluation purposes\n"
"and will shut down after 120 minutes.\n"
"Registered to:\n"
" Licensee: %2\n\n"
"The evaluation expires in %4 days\n\n"
"Contact http://qt.nokia.com/about/contact-us for pricing and purchasing information.\n"
Definition at line 55 of file qtcore_eval.cpp.
Referenced by qt_eval_string().
◆ will_shutdown_1min
const char will_shutdown_1min[] |
|
static |
Initial value:=
"\nThe evaluation of Qt will SHUT DOWN in 1 minute.\n"
"Contact http://qt.nokia.com/about/contact-us for pricing and purchasing information.\n"
Definition at line 82 of file qtcore_eval.cpp.
Referenced by QCoreFuriCuri::timerEvent().
◆ will_shutdown_now
const char will_shutdown_now[] |
|
static |
Initial value:=
"\nThe evaluation of Qt has now reached its automatic\n"
"timeout and will shut down.\n"
"Contact http://qt.nokia.com/about/contact-us for pricing and purchasing information.\n"
Definition at line 86 of file qtcore_eval.cpp.
Referenced by QCoreFuriCuri::timerEvent().