qt6-bb10/tests/auto
Thiago Macieira ea4c74ccaf QFileInfoGatherer: Fix internal build (with Q_AUTOTEST_EXPORT)
I'm surprised that this passed the CI on Windows, because
Q_AUTOTEST_EXPORT is Q_DECL_EXPORT, which is __declspec(dllexport) and
all dllexport'ed functions must be defined in the current DLL, not
imported from elsewhere. This is similar on Unix systems with the
no_direct_extern_access mode, because then Q_DECL_EXPORT behaves like on
Windows.

That means Qt modules can't call a Q_AUTOTEST_EXPORT function
from another module (only tests can). Solve this by providing a function
that is properly exported with Q_CORE_EXPORT.

Amends commit 3d08816f4c4245f08a53307775fe3c4ed31a7a32.

Task-number: QTBUG-28246
Task-number: QTBUG-31103
Change-Id: I2ba317ab34bda8c18954fffd28395f7354cb54f2
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit fbe61def33a2708e35e5e6a796e88976b04941f7)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-09 14:58:57 +00:00
..
bic/data Add binary compatibility file for 6.7.0 2024-04-17 10:18:37 +00:00
cmake Bump version to 6.8.1 2024-09-19 07:20:47 +03:00
concurrent tst_QtConcurrentThreadEngine: fix UB (uninitialized boolean) 2024-07-06 10:17:50 +00:00
corelib QMetaObjectBuilder: Fix construction logic for enums 2024-10-09 08:48:13 +02:00
dbus fix: Redundant condition in isValidBasicType 2024-08-28 01:13:29 +00:00
gui QFileInfoGatherer: Fix internal build (with Q_AUTOTEST_EXPORT) 2024-10-09 14:58:57 +00:00
guiapplauncher Convert "Color Editor Factory" Example to snippets 2024-04-19 13:39:41 +02:00
network tst_QDnsLookup: don't add duplicate 'nameserver' lines 2024-10-03 03:43:03 +00:00
opengl
other Accessibility on macOS: make treeview test more reliable 2024-08-22 04:40:28 +00:00
printsupport tests: blacklist tst_QPrinter::testPrintPreviewDialog() 2024-08-12 09:43:38 +00:00
shared Introduce flag to use typographical line metrics for fonts 2024-05-31 19:30:53 +02:00
sql SQL/Firebird: Fix interpretation of time stamp with timezone 2024-09-12 07:59:22 +00:00
testlib selftest: Disable NSLog/CFLog output to stderr 2024-09-25 17:23:48 +00:00
tools moc: add a test for Q_FLAG getter/setter on integers 2024-09-24 20:30:14 +00:00
wasm Add copyright and licensing to build system files missing it 2024-05-21 17:23:21 +02:00
widgets QButtonGroup: make sure to always auto-assign negative ids 2024-10-05 19:54:41 +00:00
xml QtXml: be systematic about feature dom 2024-08-29 18:21:29 +00:00
CMakeLists.txt tst_QSettings: port to QTEST_THROW_ON_FAIL 2024-06-27 06:06:02 +00:00
network-settings.h Change license for tests files 2024-02-04 09:56:42 +01:00