Restore link to Qt::Core for non-Windows documentation-only builds


The link was removed to work around a build issue on Windows, where we
cannot link Qt::Core against interface libraries with CMake < 3.19.

However, the release documentation is built on Linux, and QDoc requires
a valid include path for QtCore in order to parse the documentation
correctly. Restore the link for non-Windows builds.

Pick-to: 6.8 6.7 6.5
Task-number: QTBUG-111760
Change-Id: Idc53bfdc4e9f6123727eb70795b70721acc171d9
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
commite48d1952f879352609b5995d72a47a7a40bbec96
parentff5830b37d9bdc9ee8f1351dc73915d8325ea4f7
authorTopi Reinio <topi.reinio@qt.io>
committerTopi Reinio <topi.reinio@qt.io>
commit timeFri, 8 Nov 2024 15:57:44 +0000