Skip to content
  • Tobias Bieniek's avatar
    Qt4Macros: Added support for generated resource files · 9ce67d30
    Tobias Bieniek authored and Brad King's avatar Brad King committed
    Using the QT4_ADD_RESOURCES() macro required the resource file to exist
    already for dependency scanning.  This prevented the use of resource
    files that are generated by cmake because it needs the file before
    resolving the dependency.  This patch adds support for generated
    resource files by not scanning the resource file for dependencies if it
    doesn't exist yet.  The add_custom_command() to generate the resource
    file should add the dependencies on the files used by the resource file.
    9ce67d30