Eu segui os seguintes passos.
1.Downloaded o código-fonte como
git clone git://github.com/vlc-qt/vlc-qt.git
Cloning into 'vlc-qt'...
remote: Counting objects: 4785, done.
remote: Total 4785 (delta 0), reused 0 (delta 0), pack-reused 4785
Receiving objects: 100% (4785/4785), 3.14 MiB | 833.00 KiB/s, done.
Resolving deltas: 100% (3121/3121), done.
Checking connectivity... done.
2.Criando o diretório de construção.
mkdir build
3.Going para construir o diretório.
cd build
4.Usando o comando make como
ajeet@administrator-OptiPlex-3040:~/vlc-qt/build$ **cmake ..DCMAKE_BUILD_TYPE=Debug**
-- Building VLC-Qt 1.2.0
-- Git revision: 9b2f561
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Build statically: OFF
CMake Error at config/Dependencies.cmake:29 (FIND_PACKAGE):
By not providing "FindQt5Quick.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Qt5Quick",
but CMake did not find one.
Could not find a package configuration file provided by "Qt5Quick"
(requested version 5.2.0) with any of the following names:
**Qt5QuickConfig.cmake
qt5quick-config.cmake**
Add the installation prefix of "Qt5Quick" to CMAKE_PREFIX_PATH or set
"Qt5Quick_DIR" to a directory containing one of the above files. If
"Qt5Quick" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
CMakeLists.txt:50 (INCLUDE)
-- Configuring incomplete, errors occurred!
See also "/home/ajeet/vlc-qt/build/CMakeFiles/CMakeOutput.log".
Eu tentei depurar o problema e encontrar algumas soluções como sudo apt-get install qt*5-dev
, mas isso não funciona para mim.
Qualquer ajuda e sugestões serão apreciadas Agradecemos antecipadamente