qt5base-lts/tests/auto/tools/moc
Ulf Hermann f64694647a moc: Extend revision markers to allow for major and minor version
As we want Qt's own revisions to follow the Qt versioning scheme, we
need to allow for the minor version to reset to 0 now. In order to
facilitate this, we interpret the argument passed the current Q_REVISION
macro as major version and allow for an optional minor version. Both are
encoded it into the resulting revision number.

Change-Id: I3519fe20233d473f34a24ec9589d045cdd162a12
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@qt.io>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
2020-02-07 21:23:55 +01:00
..
subdir moc: get the system #defines from the compiler itself 2016-07-20 02:54:03 +00:00
task71021
Test.framework/Headers Updated license headers 2016-01-21 18:55:18 +00:00
testproject Updated license headers 2016-01-21 18:55:18 +00:00
.gitattributes
.gitignore Add support for machine-readable JSON output to the MOC 2019-10-04 18:35:29 +02:00
allmocs_baseline_in.json Merge remote-tracking branch 'origin/5.15' into dev 2020-01-28 14:14:20 +00:00
assign-namespace.h Updated license headers 2016-01-21 18:55:18 +00:00
backslash-newlines.h Merge remote-tracking branch 'origin/5.6' into 5.7 2016-05-19 12:55:27 +02:00
c-comments.h Updated license headers 2016-01-21 18:55:18 +00:00
cstyle-enums.h Updated license headers 2016-01-21 18:55:18 +00:00
cxx11-enums.h Remove handling of missing Q_COMPILER_CLASS_ENUM 2019-04-06 16:19:14 +00:00
cxx11-explicit-override-control.h Replace Q_DECL_OVERRIDE with override where possible 2017-09-19 11:53:42 +00:00
cxx11-final-classes.h Updated license headers 2016-01-21 18:55:18 +00:00
cxx17-namespaces.h tst_moc: fix include guards 2017-03-25 12:53:09 +00:00
cxx-attributes.h moc: Fix parsing of [[deprecated]] enum values 2019-03-11 14:11:33 +00:00
dir-in-include-path.h Updated license headers 2016-01-21 18:55:18 +00:00
dollars.h Updated license headers 2016-01-21 18:55:18 +00:00
error-on-wrong-notify.h moc: Allow NOTIFY signals defined in parent classes 2017-05-23 11:11:52 +00:00
escapes-in-string-literals.h Updated license headers 2016-01-21 18:55:18 +00:00
extraqualification.h Updated license headers 2016-01-21 18:55:18 +00:00
forgotten-qinterface.h Updated license headers 2016-01-21 18:55:18 +00:00
forward-declared-param.h Update the Intel copyright year 2016-01-21 22:44:16 +00:00
function-with-attributes.h Updated license headers 2016-01-21 18:55:18 +00:00
fwdclass1.h Introduce Q_MOC_INCLUDE 2020-01-17 02:22:22 +01:00
fwdclass2.h Introduce Q_MOC_INCLUDE 2020-01-17 02:22:22 +01:00
fwdclass3.h Introduce Q_MOC_INCLUDE 2020-01-17 02:22:22 +01:00
gadgetwithnoenums.h Updated license headers 2016-01-21 18:55:18 +00:00
grand-parent-gadget-class.h Support Q_GADGET QMetaObject super class hierarchies across templates 2019-12-12 13:02:52 +01:00
Header
interface-from-framework.h Updated license headers 2016-01-21 18:55:18 +00:00
interface-from-include.h Updated license headers 2016-01-21 18:55:18 +00:00
macro-on-cmdline.h Updated license headers 2016-01-21 18:55:18 +00:00
moc_include.h Introduce Q_MOC_INCLUDE 2020-01-17 02:22:22 +01:00
moc.pro Introduce Q_MOC_INCLUDE 2020-01-17 02:22:22 +01:00
namespace_no_merge.h moc: support nested q_namespaces 2016-09-28 16:44:19 +00:00
namespace.h moc: Don't error our when parsing "using namespace __identifier(...)" 2018-03-05 06:54:06 +00:00
namespaced-flags.h Updated license headers 2016-01-21 18:55:18 +00:00
no-keywords.h Clean up the moc "no-keywords" test 2018-03-21 10:31:20 +00:00
non-gadget-parent-class.h Updated license headers 2016-01-21 18:55:18 +00:00
oldstyle-casts.h Updated license headers 2016-01-21 18:55:18 +00:00
os9-newlines.h Updated license headers 2016-01-21 18:55:18 +00:00
parse-boost.h Updated license headers 2016-01-21 18:55:18 +00:00
parse-defines.h Remove handling of missing very old compiler feature check 2019-04-06 13:27:15 +00:00
plugin_metadata.h Updated license headers 2016-01-21 18:55:18 +00:00
pp-dollar-signs.h Updated license headers 2016-01-21 18:55:18 +00:00
pure-virtual-signals.h Updated license headers 2016-01-21 18:55:18 +00:00
qinvokable.h Updated license headers 2016-01-21 18:55:18 +00:00
qprivateslots.h Updated license headers 2016-01-21 18:55:18 +00:00
qtbug-35657-gadget.h Updated license headers 2016-01-21 18:55:18 +00:00
related-metaobjects-in-gadget.h Updated license headers 2016-01-21 18:55:18 +00:00
related-metaobjects-in-namespaces.h Updated license headers 2016-01-21 18:55:18 +00:00
related-metaobjects-name-conflict.h Updated license headers 2016-01-21 18:55:18 +00:00
single_function_keyword.h Updated license headers 2016-01-21 18:55:18 +00:00
single-quote-digit-separator-n3781.h Updated license headers 2016-01-21 18:55:18 +00:00
slots-with-void-template.h Updated license headers 2016-01-21 18:55:18 +00:00
task87883.h Updated license headers 2016-01-21 18:55:18 +00:00
task192552.h Updated license headers 2016-01-21 18:55:18 +00:00
task234909.h Updated license headers 2016-01-21 18:55:18 +00:00
task240368.h Updated license headers 2016-01-21 18:55:18 +00:00
template-gtgt.h Updated license headers 2016-01-21 18:55:18 +00:00
trigraphs.h Updated license headers 2016-01-21 18:55:18 +00:00
tst_moc.cpp moc: Extend revision markers to allow for major and minor version 2020-02-07 21:23:55 +01:00
unterminated-function-macro.h Updated license headers 2016-01-21 18:55:18 +00:00
using-namespaces.h Updated license headers 2016-01-21 18:55:18 +00:00
warn-on-multiple-qobject-subclasses.h Updated license headers 2016-01-21 18:55:18 +00:00
warn-on-property-without-read.h Updated license headers 2016-01-21 18:55:18 +00:00
win-newlines.h Updated license headers 2016-01-21 18:55:18 +00:00