kitech/qt.go

$ cmake . // problem

gitchander opened this issue · 8 comments

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

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

Qt5QuickControls2Config.cmake
qt5quickcontrols2-config.cmake

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

can you see that?
CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:325 (find_package):
Could not find a package configuration file provided by "Qt5QuickControls2"
with any of the following names:

Qt5QuickControls2Config.cmake
qt5quickcontrols2-config.cmake

Add the installation prefix of "Qt5QuickControls2" to CMAKE_PREFIX_PATH or
set "Qt5QuickControls2_DIR" to a directory containing one of the above
files. If "Qt5QuickControls2" provides a separate development package or
SDK, be sure it has been installed.
Call Stack (most recent call first):
CMakeLists.txt:80 (qt5_use_modules)

CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:327 (message):
Can not use "QuickControls2" module which has not yet been found.
Call Stack (most recent call first):
CMakeLists.txt:80 (qt5_use_modules)

-- Configuring incomplete, errors occurred!

It seems like you need qt5-quickcontrols2 together with qt5-base

what's your qt version? did you instrall qt5-quickcontrols2 package?

I did not figure out how to install it all on Ubuntu 16.04.
Can you give links?

It might be a good thing to add to the readme (needing QT packages installed).

no more detail install now.
this is lack of only one package.
Ubuntu 16.04 contains qt5.7 are not supported.

see little requirement, there is a little readme now: https://github.com/kitech/qt.inline/blob/master/readme.md

Can I somehow else variant install your binding in ubuntu?