Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

cmake failes after updates



  • Env

    Linux (Manjaro)
    Qt6

    Error

    Before pakcage updates, the Qt cmake project works fine.
    After pakcage updates, problems as below

    CMake Error at /usr/lib64/cmake/Qt6/QtFeature.cmake:1135 (message):
      Feature intelcet is already defined to be "OFF" and should now be set to
      "ON" when importing features from Qt6::Core.
    ...
    CMake Warning at /usr/lib64/cmake/Qt6/Qt6Config.cmake:187 (find_package):
      Found package configuration file:
    
        /usr/lib64/cmake/Qt6Widgets/Qt6WidgetsConfig.cmake
    
      but it set Qt6Widgets_FOUND to FALSE so package "Qt6Widgets" is considered
      to be NOT FOUND.
    

    What's the problem? How to fix it?



  • Solved by deleting the output folder.


Log in to reply