Details
-
Bug
-
Resolution: Done
-
P2: Important
-
0.2
-
None
-
f72edf66da583908a1a503da8eb6421571c39cb2
Description
It is permissible to run qbs config --global from any directory:
D:\>qbs config --global --list global variables: defaults/platform = mingw32 qt/default/path = D:\QtSDK-1.1\Desktop\Qt\4.7.2\mingw qt/x64/path = D:\QtSDK-1.1\QtSources\4.7.2-msvc2010-x64
but it outputs an error if done from a directory with multiple .qbp files (and a -f option isn't being used):
D:\workitems\qbs-bugs>qbs config --global --list ERROR: Multiple project files found in 'D:\workitems\qbs-bugs'. Please specify the correct project file using the -f option. global variables: defaults/platform = mingw32 qt/default/path = D:\QtSDK-1.1b\Desktop\Qt\4.7.2\mingw qt/x64/path = D:\QtSDK-1.1b\QtSources\4.7.2-msvc2010-x64
Providing --global is specified (and --local isn't) there shouldn't be an error even if there are multiple .qbp files.