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

Disabled conditional sources not displayed for cmake projects

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 17.0.0
    • None
    • All

      QtCreator displays all qmake project source files. Those sources that are not build for the current target are greyed out.

      For cmake projects, skipped files are missing from the user interface.

      On the screenshot, the same attached example project is opened from both 'lineedits.pro' and  'CMakeLists.txt'. Note 'hellounix.cpp' is greyed out in the first tree and is missing from the second.

       

        1. image-2025-09-02-15-16-28-765.png
          255 kB
          danilshkodin
        2. lineedits.zip
          11 kB
          danilshkodin
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            cadam Cristian Adam
            danilshkodin danilshkodin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes