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

php-qt does not compile #1

Open
vjandrea opened this issue Aug 7, 2013 · 1 comment
Open

php-qt does not compile #1

vjandrea opened this issue Aug 7, 2013 · 1 comment
Labels

Comments

@vjandrea
Copy link
Owner

vjandrea commented Aug 7, 2013

Steps:

$ cd build
$ cmake ..

CMake Error at cmake/modules/FindQt4.cmake:1193 (MESSAGE):
  Qt qmake not found!
Call Stack (most recent call first):
  CMakeLists.txt:9 (find_package)

CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 2.8)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!
@vjandrea
Copy link
Owner Author

vjandrea commented Aug 7, 2013

I'm going to fix FindQt4.cmake to get compatibility with Qt5

$ cmake .. -DQT_QMAKE_EXECUTABLE=/Users/<cut>/Qt5.1.0/5.1.0/clang_64/bin/qmake -DQT_LIBRARY_DIR=/Users/<cut>/Qt5.1.0/5.1.0/clang_64/lib/cmake/Qt5 -DQT_INCLUDE_DIR=/Users/<cut>/Qt5.1.0/5.1.0/clang_64/include/
-- Qt's moc NOT found!
-- Qt's uic NOT found!
CMake Error at cmake/modules/FindQt4.cmake:1153 (MESSAGE):
  Qt libraries, includes, moc, uic or/and rcc NOT found!
Call Stack (most recent call first):
  CMakeLists.txt:9 (find_package)


CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

cmake_minimum_required(VERSION 2.8)

should be added at the top of the file.  The version specified may be lower
if you wish to support older CMake versions for this project.  For more
information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!

@vjandrea vjandrea reopened this Sep 23, 2013
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

1 participant