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

subdirs project - lost "stadard" project tree



  • I am posting this just in case somebody experienced same and can help with recovery.

    I was editing the project "mdi" main window and after build / run it run fine but I have "lost" everything in the "mdi" project tree - with exception of "mdi.pro" file .
    My guess the "subdirs" in lead project "CAT_FT857.pro" points to sothing which no longer include the rest of the project.

    So I can no longer edit the subproject source files , but the changes I made are there.
    The main project still runs and I can enable other subdirs projects.

    (I am running qt creator 5.15 on Ubuntu 20 04 and having few issues with OS .)

    67838cbe-f013-4c51-87c5-318089a6c2f9-image.png

    ADDENDUM
    Just build new project and selected "add to subproject" .
    IT was NOT added as subproject, it is a plain project

    d4f35ca0-bb79-415b-b50e-ca46f342f44b-image.png

    ADDENDUM #1
    ..and here is why it did not add it as sub-project
    missed to add "" AKA continuation character in main pro file
    PS
    I added it myself
    PPS
    but it won't add SAME suproject twice

    ../../Qt5.15/Examples/Qt-5.15.2/widgets/mainwindows/mdi \ #
    ../TEST_APP #
    ../TEST_APP


  • Moderators

    Project tree disappears when Qt Creatore can't parse the .pro file. Right click your project, select "Run qmake" and observe the compilation output panel, it will usually provide some hints.


  • Moderators

    Project tree disappears when Qt Creatore can't parse the .pro file. Right click your project, select "Run qmake" and observe the compilation output panel, it will usually provide some hints.


Log in to reply