solved: Qt5Script: QT 5 and ubuntu 16.04.1 CMake Warning

Started by Jan Gruuthuse, July 22, 2016, 08:41:42 AM

Previous topic - Next topic

Jan Gruuthuse

Quote-- Checking for Qt 5
-- *****************
--   Checking for Qt5Core
--   Checking for Qt5Widgets
--   Qt5 found
-- Found Qt 5
-- Compiler Flags: : /usr/include/x86_64-linux-gnu/qt5/ /usr/include/x86_64-linux-gnu/qt5/QtCore /usr/lib/x86_64-linux-gnu/qt5//mkspecs/linux-g++-64 /usr/include/x86_64-linux-gnu/qt5/ /usr/include/x86_64-linux-gnu/qt5/QtWidgets /usr/include/x86_64-linux-gnu/qt5/QtGui /usr/include/x86_64-linux-gnu/qt5/QtCore /usr/lib/x86_64-linux-gnu/qt5//mkspecs/linux-g++-64 /usr/include /usr/include/x86_64-linux-gnu/qt5/ /usr/include/x86_64-linux-gnu/qt5/QtWidgets /usr/include/x86_64-linux-gnu/qt5/QtGui /usr/include/x86_64-linux-gnu/qt5/QtCore /usr/lib/x86_64-linux-gnu/qt5//mkspecs/linux-g++-64 /usr/include/QtWidgets : -DQT_CORE_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB
-- Linker Flags  : : Qt5::Core : Qt5::Widgets
--   Checking for Qt5OpenGL
--   Found,include=, libs=
CMake Warning at /home/jan/avidemux2/cmake/admCheckQt5.cmake:100 (FIND_PACKAGE):
  By not providing "FindQt5Script.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "Qt5Script", but CMake did not find one.

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

    Qt5ScriptConfig.cmake
    qt5script-config.cmake

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

Jan Gruuthuse

when 1st installing:
sudo apt-get install qtscript5-dev
the issue remained?
-- Checking for Qt 5
-- *****************
--   Checking for Qt5Core
--   Checking for Qt5Widgets
--   Qt5 found
-- Found Qt 5
-- Compiler Flags: : /usr/include/x86_64-linux-gnu/qt5/ /usr/include/x86_64-linux-gnu/qt5/QtCore /usr/lib/x86_64-linux-gnu/qt5//mkspecs/linux-g++-64 /usr/include/x86_64-linux-gnu/qt5/ /usr/include/x86_64-linux-gnu/qt5/QtWidgets /usr/include/x86_64-linux-gnu/qt5/QtGui /usr/include/x86_64-linux-gnu/qt5/QtCore /usr/lib/x86_64-linux-gnu/qt5//mkspecs/linux-g++-64 /usr/include /usr/include/x86_64-linux-gnu/qt5/ /usr/include/x86_64-linux-gnu/qt5/QtWidgets /usr/include/x86_64-linux-gnu/qt5/QtGui /usr/include/x86_64-linux-gnu/qt5/QtCore /usr/lib/x86_64-linux-gnu/qt5//mkspecs/linux-g++-64 /usr/include/QtWidgets : -DQT_CORE_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB
-- Linker Flags  : : Qt5::Core : Qt5::Widgets
--   Checking for Qt5OpenGL
--   Found,include=, libs=
--   Checking for Qt5Script
--    Qt5Script found


somehow this was solved after installing:
sudo apt-get install libasound2-dev libdca-dev libfontconfig1-dev libfribidi-dev libmad0-dev libogg-dev libopencore-amrnb-dev libopencore-amrwb-dev libopus-dev libpulse-dev libtwolame-dev libva-dev vainfo libvdpau-dev vdpauinfo libvorbis-dev libvpx-dev libx265-dev x265 libxv-dev libxvidcore-dev libzip-dev nvidia-cuda-toolkit

mean