The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14969 
====================================================================== 
Reported By:                Pulfer
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14969
Category:                   Modules
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-06-11 22:21 EDT
Last Modified:              2014-06-11 22:21 EDT
====================================================================== 
Summary:                    Changes in FindQt4 resulted in "Qt4::lrelease:
command not found"
Description: 
$ cat CMakeLists.txt 
...
file(GLOB tsfiles *.ts)
...
QT4_ADD_TRANSLATION(QM ${tsfiles})

--------------------------------------

[ 91%] Generating hedgewars_sk.qm
/bin/sh: Qt4::lrelease: command not found
make[2]: *** [share/hedgewars/Data/Locale/hedgewars_sk.qm] Error 127
make[1]: ***
[share/hedgewars/Data/Locale/CMakeFiles/release-translation.dir/all] Error 2
make: *** [all] Error 2


--------------------------------------

$ grep lrelease * -r
CMakeCache.txt:QT_LRELEASE_EXECUTABLE:FILEPATH=/usr/lib/qt4/bin/lrelease
share/hedgewars/Data/Locale/CMakeFiles/release-translation.dir/build.make:     
cd
/home/vuohi/rpmbuild/BUILD/hedgewars-src-0.9.20/build/share/hedgewars/Data/Locale
&& Qt4::lrelease
/home/vuohi/rpmbuild/BUILD/hedgewars-src-0.9.20/share/hedgewars/Data/Locale/hedgewars_pt_BR.ts
-qm
/home/vuohi/rpmbuild/BUILD/hedgewars-src-0.9.20/build/share/hedgewars/Data/Locale/hedgewars_pt_BR.qm
...

Steps to Reproduce: 
Try to build hedgewars 0.9.20.5 with cmake 3.0.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-06-11 22:21 Pulfer         New Issue                                    
======================================================================

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to