[Qt-creator] Why not separate Open File from Open Project?

David Schulz david.schulz at digia.com
Tue Nov 12 06:59:42 CET 2013


Am 11/10/2013 1:01 AM, schrieb Mateusz Loskot:
> Hi,
>
> I wonder what's the rationale behind single "Open File or Project" command.
> Why not to have two separate commands in the File menu?
>
> If I have my.pro project loaded, I can't use CTRL+O dialog to open
> my.pro file for editing, because Qt Creator complains:
> "project already open".

Hi,

you can open your .pro file for editing via the "File" menu entry "Open 
File With...".
Select your .pro File and choose the editor you want to open the file.

br,
David

>
> So, I have to navigate to the my.pro in the Projects sidebar.
>
> Also, how mimetypes are prioritised?
> Is it safe to assume that if a file (or pattern) is both a project
> and an editable text file, then Qt Creator will always load it as a project?
> IOW, does project mode have higher priority than editing mode?
>
> Best regards,




More information about the Qt-creator mailing list