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

CMake: Qt 5 checker #19

Closed
tucnak opened this issue Mar 22, 2013 · 3 comments
Closed

CMake: Qt 5 checker #19

tucnak opened this issue Mar 22, 2013 · 3 comments
Labels

Comments

@tucnak
Copy link

tucnak commented Mar 22, 2013

It looks like your checks of Qt 5 are wrong: I tried to build it and got Qt5 not found, searching for Qt4, anyway, I have Qt 5 on my PC and I have built my Qt 5 projects.

@flavio
Copy link
Owner

flavio commented Mar 23, 2013

I need to know the following details:

  • Which OS are you using?
  • Which version of Qt have you installed?
  • How did you install Qt (package manager, manually,...)?
  • Which version of cmake are you using?
  • You said you successfully built other Qt5 projects. Which build system did you use (cmake, qmake)?
  • Did you try to add the path to your Qt headers to CMAKE_PREFIX_PATH?

@tucnak
Copy link
Author

tucnak commented Mar 23, 2013

Sure.

  • Kubuntu Linux 32-bit
  • Qt 5.0.1
  • Package from Qt Project
  • CMake 2.8.8
  • CMake; QMake; QBS
  • No.

@flavio
Copy link
Owner

flavio commented Mar 23, 2013

Ok, I think you installed Qt 5.0.1 using the package from this page as a normal user.

In order to build qjson you have to use the following command:
CMAKE_PREFIX_PATH=/home/flavio/Qt5.0.1/5.0.1/gcc cmake ..

I think you should install qt from this ppa, it would make your life easier.

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

2 participants