[QBS] Install group doesn't work

Andrew Knight andrew.knight at intopalo.com
Thu Jul 9 17:03:58 CEST 2015


Hi,

On 07/09/2015 05:56 PM, Иван Комиссаров wrote:
> Hi everybody.
> I have a simple group that installs an icns file:
>
> Application {
>      Group {
>          name: ".icns"
>          condition: qbs.targetOS.contains("osx")
>          files: "LiMon.icns"
>          qbs.install: true
>          qbs.installDir: install_data_path
>      }
> }
>
> install_data_path contains "./LiMon.app/Contents/Resources"
>
> But this group doesn’t work!
> Being copied to the other project, it works.
> Being copied to the other product in this project, it works.
> Any ideas how to debug why it has no effect?

I bet that your Application has a dependency? You're probably hitting 
the known issue: https://bugreports.qt.io/browse/QBS-830

You can work around this by tagging the files and adding a separate 
Group with that tag in its fileTagsFilter.

> Removing build dir doesn’t have an effect.
> Bot QtCreator and console qbs ignore this group.
>
> Иван Комиссаров
--
Andrew



More information about the Qbs mailing list