Important: Please read the Qt Code of Conduct -

cmake failes after updates

  • Env

    Linux (Manjaro)


    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:
      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