On Sunday, 23 July 2023 07:16:05 PDT Stefan Brüns wrote:
> 3. ?
> 
> Kind regards,

Qt's solution is that it builds in a "build for testing" mode (it defines the 
QT_BUILD_INTERNAL macro, for historical reasons meaning "internal to 
Trolltech") in which extra symbols are exported using the Q_AUTOTEST_EXPORT 
macro. This allows developers and CI systems to enable the extra API without 
needing to affect users.

The CI also tests non-"internal build" builds, so the tests must check whether 
they are in that mode before using a autotest-exported symbol.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel DCAI Cloud Engineering



Reply via email to