Skip to content

build error ubuntu 15.10 #394

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
luntik2012 opened this issue Mar 20, 2016 · 3 comments
Closed

build error ubuntu 15.10 #394

luntik2012 opened this issue Mar 20, 2016 · 3 comments
Assignees
Labels
Milestone

Comments

@luntik2012
Copy link

I've built qt from git. I can not build qml-material with qt 5.5.0, qt 5.6.0, qt 5.6.1, qt 5.7.0 getting various errors like this(for 5.6.0):

CMake Error at CMakeLists.txt:33 (find_package):
Could not find a package configuration file provided by "Qt5" (requested
version 5.4.0) 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.

-- Configuring incomplete, errors occurred!

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@emmatyping
Copy link

I am getting this issue too.

At first it didn't find ECM:

CMake Error at CMakeLists.txt:13 (find_package):
  Could not find a package configuration file provided by "ECM" (requested
  version 0.0.11) with any of the following names:

    ECMConfig.cmake
    ecm-config.cmake

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


-- Configuring incomplete, errors occurred!

Which I solved with this SO answer. However, now I am getting similar to what @luntik2012 is getting. Also trying to install from git.

@iBelieve
Copy link
Member

We're dropping CMake to go back to QMake so the project will work with QPM. This will be fixed by #396.

@iBelieve iBelieve added this to the Version 0.3 milestone Mar 31, 2016
@iBelieve iBelieve added the bug label Mar 31, 2016
@iBelieve iBelieve self-assigned this Mar 31, 2016
@luntik2012
Copy link
Author

luntik2012 commented Apr 30, 2016

Ubuntu 16.04
Qt 5.6.1

git clone https://github.com/papyros/qml-material
cd qml-material/
mkdir build
cd build/
qmake ..
make
/usr/local/Qt-5.6.1/bin/rcc -name demo ../../demo/demo.qrc -o qrc_demo.cpp
RCC: Error in '../../demo/demo.qrc': Cannot find file 'icons/navigation_menu.svg'
Makefile:561: recipe for target 'qrc_demo.cpp' failed
make[1]: *** [qrc_demo.cpp] Error 1
make[1]: Leaving directory '/usr/local/src/qml-material/build/demo'
Makefile:69: recipe for target 'sub-demo-make_first' failed
make: *** [sub-demo-make_first] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants