forked from qt-creator/qt-creator
ProjectExplorer command line parsing: Handle directories.
Prevent the editor from complaining about not being able to open directories. Instead, check whether the directory name matches a session or the the directory contains a project file. The idea is that one can type "qtcreator ." which results in 'Do what I mean'. Change-Id: I45c5836567f8d1ff1024aca12db3603d6539d376 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com> Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
@@ -55,6 +55,12 @@
|
||||
|
||||
\endlist
|
||||
|
||||
To open a project that is located in a particular folder, you can pass on the folder
|
||||
name as a command line argument. \QC looks for a session that matches the folder name and
|
||||
loads it. Or it looks for a project file in the folder and opens it. For example:
|
||||
|
||||
\c {qtcreator .}
|
||||
|
||||
The following table summarizes the available options:
|
||||
|
||||
\table
|
||||
|
||||
Reference in New Issue
Block a user