Frequently Asked Questions

This wiki highlights the frequently asked questions on the issue tracker.

  1. How to show empty folders?
  2. Are new files automaticly added to the CMakeLists.txt file?
  3. Warning: This file is not part of any project.?

How to show empty folders?

By default Qt Creator hides empty folders. In the above image you can see that the workspace src folder is not shown. Under the project filters uncheck Hide Empty Directories.

../_images/show_empty_folders.png

Are new files automaticly added to the CMakeLists.txt file?

Currently it is the developers responsibility to edit the CMakeLists.txt file.

Warning: This file is not part of any project.?

This can be for several reason.

  1. The workspace has not been built from within Qt Creator. Specific flags are passed to cmake which create specific project files which the IDE can parse to build a code model.
  2. The file or files have not been added to the CMakeLists.txt file followed by a build from within Qt Creator.
  3. Sometime is persist event if you address the previous items, but if code following is working then it should be ignored.