Skip to content
  • Alexander Neundorf's avatar
    -create imported library targets for the Qt4 libs · 6d393130
    Alexander Neundorf authored
    This commit syncs FindQt4.cmake again with KDEs version.
    Now for every Qt library an imported target with the name
    Qt4ImportedTarget__<LIBNAME> is created.
    This way we can now finally handle the release and debug versions of the Qt
    libraries correctly.
    Also, if a Qt-using project A installs a file with exported targets, these
    targets now depend on the imported Qt targets, e.g.
    Qt4ImportedTarget__QtCore. The location of QtCore is then resolved at
    buildtime of project B, which uses the exported targets from project A.
     Before this patch the full path to the QtCore on the original build machine
    of project A was stored, so this had to match the directory layout on the
    build machine for project B.
    
    Alex
    6d393130