How to place header and ui file in different folders using autouic in cmake

前端 未结 2 721
生来不讨喜
生来不讨喜 2021-01-05 09:26

According to the documentation, regarding autouic:

If a preprocessor #include directive is found which matches ui_.h, and a .ui file exists, then uic

2条回答
  •  孤独总比滥情好
    2021-01-05 10:17

    Update

    A search path, CMAKE_AUTOUIC_SEARCH_PATHS, has been added to CMake version 3.9.


    After further investigation, it seems like it's not possible to do. There is an open issue in their tracking system, but it is so far not implemented:

    Add Search path for AUTOUIC

提交回复
热议问题