[OE-core] [PATCH] qt4e.bbclass: export OE_QMAKE_QT_CONFIG

Paul Eggleton paul.eggleton at linux.intel.com
Sun Jun 30 11:44:20 UTC 2013


On Sunday 30 June 2013 12:34:22 Martin Jansa wrote:
> There is another qt4 issue which causes cmake-native to fail or was
> cmake changed to require qt4 installed on host?

Certainly not. I had a report of this issue but wasn't able to reproduce it:

https://bugzilla.yoctoproject.org/show_bug.cgi?id=4565

Are you able to help me do that?
 
> | CMake Warning at Modules/FindQt4.cmake:657 (message):
> |   /usr/bin/qmake reported QT_INSTALL_LIBS as "/usr/lib/x86_64-linux-gnu"
> |   but
> |   QtCore could not be found there.  Qt is NOT installed correctly for the
> |   target build environment.
> | 
> | Call Stack (most recent call first):
> |   Tests/RunCMake/CMakeLists.txt:79 (find_package)
> | 
> | -- Looking for Q_WS_X11
> | -- Looking for Q_WS_X11 - not found
> | -- Looking for Q_WS_WIN
> | -- Looking for Q_WS_WIN - not found
> | -- Looking for Q_WS_QWS
> | -- Looking for Q_WS_QWS - not found
> | -- Looking for Q_WS_MAC
> | -- Looking for Q_WS_MAC - not found
> | 
> | CMake Error at Modules/FindQt4.cmake:1032 (set_property):
> |   set_property could not find TARGET Qt4::QtCore.  Perhaps it has not yet
> |   been created.
> | 
> | Call Stack (most recent call first):
> |   Tests/RunCMake/CMakeLists.txt:79 (find_package)
> | 
> | CMake Error at Modules/FindQt4.cmake:1037 (set_property):
> |   set_property could not find TARGET Qt4::QtCore.  Perhaps it has not yet
> |   been created.
> | 
> | Call Stack (most recent call first):
> |   Tests/RunCMake/CMakeLists.txt:79 (find_package)
> | 
> | CMake Error at Modules/FindQt4.cmake:1040 (set_property):
> |   set_property could not find TARGET Qt4::QtCore.  Perhaps it has not yet
> |   been created.
> | 
> | Call Stack (most recent call first):
> |   Tests/RunCMake/CMakeLists.txt:79 (find_package)
> | 
> | CMake Warning at Modules/FindQt4.cmake:657 (message):
> |   /usr/bin/qmake reported QT_INSTALL_LIBS as "/usr/lib/x86_64-linux-gnu"
> |   but
> |   QtCore could not be found there.  Qt is NOT installed correctly for the
> |   target build environment.
> | 
> | Call Stack (most recent call first):
> |   Tests/CMakeLists.txt:263 (find_package)
> | 
> | CMake Error at Modules/FindQt4.cmake:1032 (set_property):
> |   set_property could not find TARGET Qt4::QtCore.  Perhaps it has not yet
> |   been created.
> | 
> | Call Stack (most recent call first):
> |   Tests/CMakeLists.txt:263 (find_package)
> | 
> | CMake Error at Modules/FindQt4.cmake:1037 (set_property):
> |   set_property could not find TARGET Qt4::QtCore.  Perhaps it has not yet
> |   been created.
> | 
> | Call Stack (most recent call first):
> |   Tests/CMakeLists.txt:263 (find_package)
> | 
> | CMake Error at Modules/FindQt4.cmake:1040 (set_property):
> |   set_property could not find TARGET Qt4::QtCore.  Perhaps it has not yet
> |   been created.
> | 
> | Call Stack (most recent call first):
> |   Tests/CMakeLists.txt:263 (find_package)
> | 
> | -- Could NOT find Qt4 (missing:  QT_MOC_EXECUTABLE QT_RCC_EXECUTABLE
> | QT_UIC_EXECUTABLE QT_INCLUDE_DIR QT_LIBRARY_DIR QT_QTCORE_LIBRARY) (found
> | version "4.8.1") -- Performing Test run_pic_test
> | -- Performing Test run_pic_test - Success
> | -- Configuring incomplete, errors occurred!
> | ---------------------------------------------
> | Error when bootstrapping CMake:
> | Problem while running initial CMake
> | ---------------------------------------------
> | ERROR: Function failed: do_configure (log file is located at
> | /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/x86_64-linux/
> | cmake-native/2.8.11.1-r0/temp/log.do_configure.19730)
> NOTE: recipe cmake-native-2.8.11.1-r0: task do_configure: Failed
> 

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the Openembedded-core mailing list