diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2022-06-17 19:29:21 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2022-06-24 20:01:32 -0700 |
commit | 97fbf7d151fbadb2c4541a5e0689810584a9a210 (patch) | |
tree | 4d4421f1d36c6728adff4cce0392d3018f88a901 /src/corelib/io/qresource_p.h | |
parent | 8726647df40c61ed6d79da1e3845ef289bcf8b38 (diff) |
qmetatype.h: remove unnecessary EXPORT macro
It was introduced in commit d9f9bc9bada91e3ec2b6c496d3b2242506ca56bc for
Qt 6.0 to avoid extern __declspec(dllexport), which MSVC doesn't like,
but was made obsolete by commit 77b99e8111cdd06b4fe12f2e18950a1e40ee2b76
that removed the extern templates altogether for MSVC.
This change is NOT a no-op because Q_CORE_EXPORT expands to
Q_DECL_IMPORT which is __attribute__((visibility("default"))) on ELF
platforms. That's actually a good thing, because the symbol is not
defined in any library that is not called QtCore anyway. GCC and Linux
are also going towards properly requiring imported symbols to be
explicitly marked, which this is.
Task-number: QTBUG-93471
Pick-to: 6.3 6.4
Change-Id: Id0fb9ab0089845ee8843fffd16f99616883281e3
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/corelib/io/qresource_p.h')
0 files changed, 0 insertions, 0 deletions