Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-28244

CMake: Generated sources do not show in project explorer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 8.0.1
    • None
    • Linux/X11

      Sources generated using add_custom_command(OUTPUT ...) in a cmake project do not show up in the project explorer. In fact, in the attached test project the target using the source does not show at all. If another (non-generated) source file is added, it shows, but it still does not show the generated source.

       

      Expected behavior: Target is shown, and the generated source is listed in the project explorer.

        1. gentest.zip
          0.7 kB
          Arne Morten Kvarving
        2. qtcreator-hide-generated-files.png
          61 kB
          Cristian Adam
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            cadam Cristian Adam
            akva Arne Morten Kvarving
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes