-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 3d08816. Pick-to: 6.8 Task-number: QTBUG-28246 Task-number: QTBUG-31103 Change-Id: I2ba317ab34bda8c18954fffd28395f7354cb54f2 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
- Loading branch information
1 parent
5d18017
commit fbe61de
Showing
4 changed files
with
10 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters