Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix suppressed Windows linker errors
Deriving QgsAttributes from QVector<QVariant> and then exporting the whole QgsAttributes class also exports symbols of QVector<QVariant>. This leads to linker issues with object files using QVector<QVariant> if a library/executable links against qgis_core. Just exporting the only function of QgsAttributes that is not inline is sufficient and solves the linker errors.
- Loading branch information
1 parent
15b647a
commit 32e5ec0
Showing
3 changed files
with
2 additions
and
8 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