Age | Commit message (Collapse) | Author | Files | Lines |
|
This is necessary to make the tests pass on 64-bit PowerPC. This is
caused because the MetaEnumVariable class does not register its
comparators, which is required in Qt 5.
Qt 6 will use introspection to automatically do this. The proper fix is
likely to use a constructor function somewhere in the Grantlee library
to ensure it is called on library initialisation, but it isn't
immediately obvious to me where to put such a ctor.
This only seems to affect 64-bit PowerPC, as other platforms do pass
this test; maybe Qt is doing some sort of introspection that doesn't
work on ppc64. It is also affected by GCC optimisation flags, so it may
be a miscompilation.
At any rate, this patch *does* fix the tests. Prior to 5.3.0, enums did
not compare correctly anyway, so this does not have a very high impact.
Fixes: #955
|
|
Reported upstream by SuSE maintainer, though the way this works does
sort of bother me since this sort of code really shouldn't depend on
precision if written properly..
Fixes: #954
|
|
|
|
Note that the checksums remain the same.
Also removes a hard-coded version number.
|
|
This is required for KDE PIM by adding the Grantlee 'scriptabletags' plugin.
Seen in the test-suite for (as of yet uncommitted) user/grantleetheme.
|
|
Excludes user/rocs since it requires Qt WebKit.
|
|
|
|
|
|
|