Details
Description
Try `qbs project.qbsSearchPaths:qbs`
* thread #6: tid = 0x5cf2fc, 0x00000001030164fc libqbscore.1.5.0.dylib`QSharedPointer<qbs::Internal::FileContext>::data(this=0x0000000000000028) const + 12 at qsharedpointer_impl.h:297, name = 'QThread', stop reason = EXC_BAD_ACCESS (code=1, address=0x28) * frame #0: 0x00000001030164fc libqbscore.1.5.0.dylib`QSharedPointer<qbs::Internal::FileContext>::data(this=0x0000000000000028) const + 12 at qsharedpointer_impl.h:297 frame #1: 0x0000000103015835 libqbscore.1.5.0.dylib`QSharedPointer<qbs::Internal::FileContext>::operator->(this=0x0000000000000028) const + 21 at qsharedpointer_impl.h:302 frame #2: 0x000000010305fb79 libqbscore.1.5.0.dylib`qbs::Internal::ModuleLoader::readExtraSearchPaths(this=0x00007f9e21f0d9c0, item=0x00007f9e25002e00, wasSet=0x0000000000000000) + 537 at moduleloader.cpp:1342 frame #3: 0x000000010305cb3e libqbscore.1.5.0.dylib`qbs::Internal::ModuleLoader::handleProject(this=0x00007f9e21f0d9c0, loadResult=0x00000001051864d0, item=0x00007f9e25002e00, buildDirectory=0x00000001051864a0, referencedFilePaths=0x0000000105186370) + 462 at moduleloader.cpp:242 frame #4: 0x000000010305c369 libqbscore.1.5.0.dylib`qbs::Internal::ModuleLoader::load(this=0x00007f9e21f0d9c0, parameters=0x00007f9e21f03138) + 2041 at moduleloader.cpp:139 frame #5: 0x000000010305ac64 libqbscore.1.5.0.dylib`qbs::Internal::Loader::loadProject(this=0x0000000105186780, parameters=0x00007f9e21f03138) + 1044 at loader.cpp:111
Due to `prop` being null in ModuleLoader::readExtraSearchPaths. If prop is null, I suppose we should resolve the path against the working directory.