Can't find installed QT4 when using 'make .... xconfig' command
-
Hey folks, (I'm using a Mac OS X Yosemite Version 10.10.2 with the latest xcode installed)
I'm trying to change a kernel file for an open source project using this guide -- http://arachnoid.com/android/Android-x86/ IF ANY OF YOU COULD PLEASE HELP ME FIGURE OUT WHY MY QT (qmake) CAN'T BE FOUND
When I do the following
$ . build/envsetup.sh
$ export ARCH=x86
$ lunch android_x86-eng
$ make -C kernel O=/work/config/.config xconfig #(THIS IS WHERE THE ERROR HAPPENS)I get the following error (even though I installed QT4 from here: https://download.qt.io/archive/qt/4.8/4.8.5/):
$ sudo make -C kernel O=/work/config/.config xconfig
Password:
GEN ./Makefile
CHECK qtUnable to find the QT4 tool qmake. Trying to use QT3
Unable to find any QT installation. Please make sure that
the QT4 or QT3 development package is correctly installed and
either qmake can be found or install pkg-config or set
the QTDIR environment variable to the correct location.
make[2]: *** No rule to make target scripts/kconfig/.tmp_qtcheck', needed byscripts/kconfig/qconf.o'. Stop.
make[1]: *** [xconfig] Error 2
make: *** [sub-make] Error 2 -