Skip to content
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

Hardcoded /usr path in cmake/Qt5WaylandClient/Qt5WaylandClientConfig.cmake #212

Open
n3rdopolis opened this issue Jan 4, 2016 · 1 comment
Milestone

Comments

@n3rdopolis
Copy link

n3rdopolis commented Jan 4, 2016

I am unable to build Papyros, as qt5 is in /opt

It seems there are some direct references to /usr in that file

I am getting this error output
CMake Error at cmake/Qt5WaylandClient/Qt5WaylandClientConfig.cmake:27 (message):
The imported target "Qt5::WaylandClient" references the file

 "/usr/include/qt/"

but this file does not exist. Possible reasons include:

  • The file was deleted, renamed, or moved to another location.

  • An install or uninstall procedure did not complete successfully.

  • The installation package was faulty and contained

    "/srcbuild/papyros-shell/cmake/Qt5WaylandClient/Qt5WaylandClientConfig.cmake"

    but not all the files it references.

Call Stack (most recent call first):
cmake/Qt5WaylandClient/Qt5WaylandClientConfig.cmake:63 (_qt5_WaylandClient_check_file_exists)
CMakeLists.txt:53 (find_package)

-- Configuring incomplete, errors occurred!


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

@SaeedMasoumi
Copy link

Same problem, It seems that there is a "/usr/include/qt5" folder instead of "/usr/include/qt", so I fixed it by creating a symbolic link.
sudo ln -s /usr/include/qt5 /usr/include/qt

@iBelieve iBelieve modified the milestone: Version 0.2 Jan 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants