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

While building qt-everywhere-src-5.12.6 using cmake, getting an error.



  • While building qt-everywhere-src-5.12.6 using cmake, getting an error.

    The imported target "Qt5::Core" references the file

     "/Downloads/qt-everywhere-src-5.12.6/qtbase/../../../Downloads/qt-everywhere-src-5.12.6/qtbase//mkspecs/linux-g++"
    

    but this file does not exist. Possible reasons include:

    • The file was deleted, renamed, or moved to another location.

    • An install or uninstall procedure did not complete successfully.

    • The installation package was faulty and contained

      "/Downloads/qt-everywhere-src-5.12.6/qtbase/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake"
      Any suggestion to resolve the issue will be helpful.
      Thanks


  • Lifetime Qt Champion

    Hi,

    Do you mean you are trying to build Qt itself with cmake ?

    That's planned for Qt 6 not Qt 5.12.6.


Log in to reply