[Qbs] How to run executable from install-root on osx?

Jake Petroules Jake.Petroules at qt.io
Sun Oct 29 19:45:34 CET 2017


Probably because you did not install your app bundle correctly.

Group {
    fileTagsFilter: ["bundle.content"]
    qbs.install: true
    qbs.installSourceBase: product.buildDirectory
}

> On Oct 29, 2017, at 7:59 AM, Marc Hüskens <Marc.Hueskens at aucos.de> wrote:
> 
> (I am sending this again to the mailing list, because the first time I wasn’t registered and I guess this is necessary.)
> 
> 
>> Hi everyone,
>>  
>> we are having a bit of a problem here with osx.
>>  
>> Building and installing our project to the default location works fine and as defined in the build step.
>> But when we try to start the executable with QtCreator, the creator starts the executable from the build directory, and not from the install-root (/bin). This results in a crash, because we are depending on shared libraries, config-files and others stuff.
>> On Windows and Linux the QtCreator runs the executables located in the install-root directory. Why is this different?
>>  
>> Best regards,
>> Marc
>>  
> _______________________________________________
> Qbs mailing list
> Qbs at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qbs

-- 
Jake Petroules - jake.petroules at qt.io
The Qt Company - Silicon Valley
Qbs build tool evangelist - qbs.io



More information about the Qbs mailing list