Skip to content

CMake to find a package configuration file provided by "Qt5", but CMake did not find one. #2

@muhammedK54

Description

@muhammedK54

Hi Dustin
thank you for this helpful repo
please can you add installation part , I try to make this file but it show me this error message:

`CMake Warning at CMakeLists.txt:8 (find_package):
By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Qt5", but
CMake did not find one.

Could not find a package configuration file provided by "Qt5" with any of
the following names:

Qt5Config.cmake
qt5-config.cmake

Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR"
to a directory containing one of the above files. If "Qt5" provides a
separate development package or SDK, be sure it has been installed.

-- camera-capture: Qt5Widgets package not found, skipping...
-- camera-capture: run 'sudo apt-get install qtbase5-dev'
-- Configuring done
-- Generating done
-- Build files have been written to: /home/nano/Desktop/camera-capture `

I already run 'sudo apt-get install qtbase5-dev` this in terminal, and its seem good
output: qtbase5-dev is already the newest version (5.9.5+dfsg-0ubuntu2.5).

can you help me please
thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions