Description
Currently only the last name of the module is used to generate the name of the export macro. This is bad as it can easily clash with an export macro from an existing lib we are linking against. E.g. the module name example.simulator creates a export macro called Q_SIMULATOR_EXPORT, this is the same export macro which is also used for the qtsimulator module and because of that it's not possible to link against this module on windows as the simulator module symbols would be declared Q_DECL_EXPORT instead of Q_DECL_IMPORT
We need to make sure to use the complete module name instead
Attachments
Issue Links
- relates to
-
AUTOSUITE-505 compilation fails on Windows (mingw)
- Closed
For Gerrit Dashboard: AUTOSUITE-509 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
231462,3 | Use the full module uri for the class export macro | 5.11 | qt/qtivi | Status: MERGED | +2 | 0 |