Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. subdirs project - lost "stadard" project tree

subdirs project - lost "stadard" project tree

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
2 Posts 2 Posters 291 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Anonymous_Banned275
    wrote on last edited by Anonymous_Banned275
    #1

    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

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      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.

      (Z(:^

      1 Reply Last reply
      3

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved