Open GoogleCodeExporter opened 9 years ago
Ok, I hard edited QtGuess.txt to replace
${QT_QTCORE_INCLUDE_DIR} with /usr/include/qt4/Qt to go on with the
installation.
It seem that the smoke/README is some artifact/leftover from another project:
qtguess.pl and generate.pl are mentioned. Likely that they generated
QtGuess.txt etc, but they are not in the svg repo anymore. It says...
Regenerating
============
For SmokeQt:
cd qt
./qtguess.pl
./generate.pl
make
But even then, problems go on like this:
-----
../smoke $ locate qglobal.h
/usr/include/qt4/QtCore/qglobal.h
../smoke $ cmake .
CMake Warning at qtcore/QtGuess.txt:131 (if):
given arguments:
"EQUAL" "0"
Unknown arguments specified
Call Stack (most recent call first):
qtcore/CMakeLists.txt:14 (include)
-- Checking how Qt was built...
-- Threshold is set to 10
CMake Error at qtcore/QtGuess.txt:142 (include):
include could not find load file:
HandleImportedTargetsInCMakeRequiredLibraries
Call Stack (most recent call first):
qtcore/CMakeLists.txt:14 (include)
CMake Error at qtcore/QtGuess.txt:145
(HANDLE_IMPORTED_TARGETS_IN_CMAKE_REQUIRED_LIBRARIES):
Unknown CMake command
"HANDLE_IMPORTED_TARGETS_IN_CMAKE_REQUIRED_LIBRARIES".
Call Stack (most recent call first):
qtcore/CMakeLists.txt:14 (include)
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!
../smoke $ grep -r HandleImportedTargetsInCMakeRequiredLibraries *
qtcore/.svn/text-base/QtGuess.txt.svn-base:include
(HandleImportedTargetsInCMakeRequiredLibraries)
qtcore/QtGuess.txt:include (HandleImportedTargetsInCMakeRequiredLibraries)
../smoke $ find -name 'HandleImportedTargetsInCMakeRequiredLibraries'
../smoke $ find -name 'HandleImportedTargetsInCMakeRequiredLibraries*'
../smoke $ find -name '*HandleImportedTargetsInCMakeRequiredLibraries*'
../smoke $ locate HandleImportedTargetsInCMakeRequiredLibraries
Cough cough, the web says
HandleImportedTargetsInCMakeRequiredLibraries.cmake
is something from the kdebinding package:
http://web.archiveorange.com/archive/v/9eWtz9dvd811blFtfmzY
Original comment by murat.ue...@gmail.com
on 12 Nov 2010 at 1:12
Original issue reported on code.google.com by
murat.ue...@gmail.com
on 12 Nov 2010 at 12:54