Home GnuPG

Avoid clashes of qgpgme headers with other headers

Description

Avoid clashes of qgpgme headers with other headers

* src/QGpgmeConfig-w32.cmake.in.in, src/QGpgmeConfig.cmake.in.in,
src/QGpgmeQt6Config-w32.cmake.in.in,
src/QGpgmeQt6Config.cmake.in.in: Don't put qgpgme subfolder in
interface include paths.

We put all qgpgme headers into subfolders for a reason. Adding this
subfolder to the include paths of library users could cause the
inclusion of a wrong header. We've been bitten by this ourselves in the
past.
This change is source incompatible for library users who include
qgpgme headers without qgpgme/ prefix, but I think that's acceptable
because this change is in the best interest of library users as it
prevents unexpected and confusing errors.

Details

Provenance
ikloeckerAuthored on Dec 10 2024, 3:39 PM
Parents
rGPGMEQT1c3d2756d5ac: Add files for building the project with autotools
Branches
Unknown
Tags
Unknown

Event Timeline