Skip to content
Commit f1bb1bf5 authored by Jakob Petsovits's avatar Jakob Petsovits Committed by Nicolas Fella
Browse files

Fix linking with KCUPSLIB_EXPORT instead of Q_DECL_EXPORT

The issue with Q_DECL_EXPORT is that it doesn't automatically
switch to an import declaration when being used by external code.
This might not matter on every system but it fails on mine.

CMakeLists.txt gets a new generate_export_header(kcupslib) command
so that KCUPSLIB_EXPORT can be used in the first place.
parent 4c9f5b17
Pipeline #434449 passed with stage
in 1 minute and 34 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment