Hi, I trying compile ezxflash on Gentoo,QT-3.3.8 and QT 4.3.0 is installed, but I get this error:
cd src/ && make -f Makefile
make[1]: Entering directory `/home/zsman/Dev/Flash/ezxflash/ezxflash/src'
/usr/bin/uic-qt4 mainwindow.ui -o ui_mainwindow.h
make[1]: /usr/bin/uic-qt4: Command not found
make[1]: *** [ui_mainwindow.h] Error 127
make[1]: Leaving directory `/home/zsman/Dev/Flash/ezxflash/ezxflash/src'
make: *** [sub-src-make_default] Error 2
In QT package is not /usr/bin/uic-qt4, only /usr/bin/uic . I create symlink ln -s /usr/bin/uic /usr/bin/uic-qt4 and now I get this:
cd src/ && make -f Makefile
make[1]: Entering directory `/home/zsman/Dev/Flash/ezxflash/ezxflash/src'
/usr/bin/uic-qt4 mainwindow.ui -o ui_mainwindow.h
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I. -o main.o main.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I. -o phone.o phone.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I. -o mainwindow.o mainwindow.cpp
(cd "/usr/qt/3/src/tools/moc" && make)
/bin/sh: line 0: cd: /usr/qt/3/src/tools/moc: No such file or directory
make[1]: *** [/usr/bin/moc-qt4] Error 1
make[1]: Leaving directory `/home/zsman/Dev/Flash/ezxflash/ezxflash/src'
make: *** [sub-src-make_default] Error 2
What is wrong? Any idea? (or gentoo ebuild)
Thanks
I too am going
You need another tool moc to compile classes with macro Q_OBJECT