[oe] [meta-qt4] Cmake Could NOT find Qt4, missing: QT_MOC_EXECUTABLE

2018-02-21 Thread Måns Zigher
r0/recipe-sysroot-native/usr/bin/qmake2 I would think that CMake should find qmake2 in the recipe-sysroot-native dir. Any help would be appreciated. How can I point CMake in the direction so it finds the qt tools. BR Måns Zigher -- ___ Openembedded-dev

Re: [oe] [meta-qt4] Cmake Could NOT find Qt4, missing: QT_MOC_EXECUTABLE

2018-02-21 Thread Måns Zigher
When running devshell I can verify that echo $PATH includes the recipe-sysroot-native dir and if I run "whereis qmake2" the recipe-sysroot-native dir appears. So the question remains why is CMake not detecting the binaries? BR Mans Zigher 2018-02-21 13:02 GMT+01:00 Måns Zigher : >

Re: [oe] [meta-qt4] Cmake Could NOT find Qt4, missing: QT_MOC_EXECUTABLE

2018-02-21 Thread Måns Zigher
that is none existing. BR Mans Zigher 2018-02-21 13:13 GMT+01:00 Måns Zigher : > When running devshell I can verify that echo $PATH includes the > recipe-sysroot-native dir and if I run "whereis qmake2" the > recipe-sysroot-native dir appears. So the question remains why is CM

Re: [oe] [meta-qt4] Cmake Could NOT find Qt4, missing: QT_MOC_EXECUTABLE

2018-02-21 Thread Måns Zigher
MT+01:00 Måns Zigher : > After some more investigation I realized that qmake is actually detected > correctly the problem is that when running qmake2 -query I get the > following results > > qmake2 -query > > QT_INSTALL_PREFIX:/home/build/tmp/work/x86_64-linux/qt4-nati > ve/4

Re: [oe] [meta-qt4] Cmake Could NOT find Qt4, missing: QT_MOC_EXECUTABLE

2018-02-22 Thread Måns Zigher
epend() { sed -i -e 's,@WORKDIR@,${WORKDIR},g' ${WORKDIR}/qt.conf } This solved my problem I still couldn't figure out if the qt4-native is actually broken or if this is the way it should work now that each recipe have it's own sysroot. BR Mans Zigher 2018-02-21 16:49

Re: [oe] [meta-qt4] Cmake Could NOT find Qt4, missing: QT_MOC_EXECUTABLE

2018-02-28 Thread Måns Zigher
navin" < alexander.kana...@linux.intel.com> wrote: > On 02/22/2018 01:04 PM, Måns Zigher wrote: > >> This solved my problem I still couldn't figure out if the qt4-native is >> actually broken or if this is the way it should work now that each recipe >> have it'