Fix multiple calls to ecm_create_qm_loader.

Review Request #125999 - Created Nov. 8, 2015 and submitted

Information
Alex Merry
extra-cmake-modules
master
126000
Reviewers
extracmakemodules
Multiple ecm_create_qm_loader() with different catalog names would
overwrite each other's generated files, causing the wrong catalog to be
loaded at runtime for some targets.

This puts the catalog name into the generated filename. Since the
catalog name is the only difference between the generated files, this is
sufficient to fix the runtime behaviour.

Extended unit tests, which pass. Built frameworks and ~100 frameworks-based KDE projects.

Alex Merry
David Faure
Alex Merry
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 55c55808298986d13ca461d571069f4214d8174d by Alex Merry to branch master.
Loading...