Skip to content
  • Harald Sitter's avatar
    set autorcc and autouic by default · 60ca1a27
    Harald Sitter authored
    Summary:
    I couldn't find any pertinent discussion on the topic but some reviews I
    stumbled over did set it on some of our application repos and also wonder
    why we don't enable it by default.
    
    autorcc allows more idiomatic use of qrc as they may be used like any
    "ordinary" source file and cmake will know what to do with them (namely
    compile into relevant cpp for inclusion in target) without the developer
    having to worry about anything.
    
    autouic does the same albeit for .ui files.
    
    Test Plan: .qrc files can be added to src list variables and will get automatically generated into cpp files in the binary dir and built into the target
    
    Reviewers: apol
    
    Reviewed By: apol
    
    Subscribers: cgiboudeaux, vkrause, kossebau, apol, kde-frameworks-devel, kde-buildsystem
    
    Tags: #frameworks, #build_system
    
    Differential Revision: https://phabricator.kde.org/D22805
    60ca1a27