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

Update project view according to conditional includes in .pro file

XMLWordPrintable

      If User specifies that some header/source files should be loaded only for windows and some for Mac, and specifies same in .pro file. The project view should not show/include the files not meant for the current OS. Say, following is the .pro file

      SOURCES += \
              main.cpp
      macx{
       HEADERS+=mac.h
       SOURCES+=mac.cpp
      }
      win32{
       HEADERS+=windows.h
       SOURCES+=windows.cpp
      }
      

      It is expected that windows.cpp and windows.h should not be shown in the project view when the project is loaded on Mac and vice-versa.

        1. qtcreatorbug23480.PNG
          196 kB
          Shveta Mittal
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kandeler Christian Kandeler
            shmittal Shveta Mittal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes