Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How to save entire project ?



  • When I highlight the project name then do
    "File "-> all save options are grayed out.

    I can only save a file currently open in edit view.
    For example I can open x.pro and save it, but it obviously does not save the entire project.

    What am I doing wrong?

    1c2281ec-803f-4e6c-a8cb-5181435e6e32-image.png

    388f13fd-189d-4901-9699-1d061bda1921-image.png


  • Moderators

    @AnneRanch I don't know of a way to rename a .pro file through the Qt Creator GUI, sorry. As a workaround, close the project and use your OS'es file viewer or terminal rename the top-level .pro file. Then, use Qt Creator to open the new project file.

    Note: If you want to move the project to a different folder, then move all the project's files to that folder.


  • Moderators

    @AnneRanch said in How to save entire project ?:

    When I highlight the project name then do
    "File "-> all save options are grayed out.

    That means all changes have already been saved; there is nothing left to save.

    If you edit one or more files, then the save options will no longer be grayed out.



  • @JKSH Duh, caught by automation again, but
    there is no option to save the entire project AS ...

    Any suggestion on that ?
    I like to save entire project and possibly change the project name.
    Done that while using the older release , however, did not save entire project only the main and first sub project.


  • Moderators

    @AnneRanch I don't know of a way to rename a .pro file through the Qt Creator GUI, sorry. As a workaround, close the project and use your OS'es file viewer or terminal rename the top-level .pro file. Then, use Qt Creator to open the new project file.

    Note: If you want to move the project to a different folder, then move all the project's files to that folder.



  • @JKSH I know cannot rename the project in QtCreator. It looks as the safest way is to use OS , as you suggested.

    I just copied entire folder project into another partition folder and with an exception of having to modify the path in x.pro it works fine.

    Of course found another quirk of Ubuntu 20.04 in the process - but this forum is not the place to elaborate on that.


Log in to reply