Ticket #7576: qt4-jam-rccflags.diff

File qt4-jam-rccflags.diff, 654 bytes (added by frank.richter@…, 10 years ago)

<rccflags> feature to pass command line options to Qt4's rcc

  • tools/build/v2/tools/qt4.jam

    old new  
    7171# Auto-detection via qmake sets '<qt>major.minor.patch'
    7272feature.feature qt : : propagated ;
    7373
     74# Extra flags for rcc
     75feature.feature rccflags : : free ;
     76
    7477project.initialize $(__name__) ;
    7578project qt ;
    7679
     
    691694}
    692695
    693696
     697# Get extra options for RCC
     698flags qt4.rcc OPTIONS <rccflags> ;
     699
    694700# Generates source files from resource files.
    695701#
    696702actions rcc
    697703{
    698     $(.BINPREFIX[-1])/rcc $(>) -name $(>:B) -o $(<)
     704    $(.BINPREFIX[-1])/rcc $(>) $(OPTIONS) -name $(>:B) -o $(<)
    699705}
    700706
    701707