
Originally Posted by
kuzulis
And what? You really scoff at us?
At such approach you won't receive any answers from us (from me).
I replied to Santosh question, as I was not sure if this module already exists in qt5 or shall installed as a seperate library. And... next time please make sure you are implying to the correct matter when you accuse members.
anyway,
My problem is with /usr/bin/moc-qt4, I already added /usr/bin/qt4 to the environment variable. but I cannot find anything called moc-qt4 in the system. I have qt 5 installed, but at we need qt4-qmake for libqtserial, I downloaded the package.
# make
cd src/ && make -f Makefile
make[1]: Entering directory `/home/saman/5.0.1/serialPort src/qtserialport/src'
cd serialport/ && make -f Makefile
make[2]: Entering directory `/home/saman/5.0.1/serialPort src/qtserialport/src/serialport'
/usr/bin/moc-qt4 -DQT_BUILD_SERIALPORT_LIB -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I. -I/include -I/include/QtSerialPort -I. qserialport.h -o moc_qserialport.cpp
make[2]: /usr/bin/moc-qt4: Command not found
make[2]: *** [moc_qserialport.cpp] Error 127
make[2]: Leaving directory `/home/saman/5.0.1/serialPort src/qtserialport/src/serialport'
make[1]: *** [sub-serialport-make_default] Error 2
make[1]: Leaving directory `/home/saman/5.0.1/serialPort src/qtserialport/src'
make: *** [sub-src-make_default-ordered] Error 2
# make
cd src/ && make -f Makefile
make[1]: Entering directory `/home/saman/5.0.1/serialPort src/qtserialport/src'
cd serialport/ && make -f Makefile
make[2]: Entering directory `/home/saman/5.0.1/serialPort src/qtserialport/src/serialport'
/usr/bin/moc-qt4 -DQT_BUILD_SERIALPORT_LIB -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I. -I/include -I/include/QtSerialPort -I. qserialport.h -o moc_qserialport.cpp
make[2]: /usr/bin/moc-qt4: Command not found
make[2]: *** [moc_qserialport.cpp] Error 127
make[2]: Leaving directory `/home/saman/5.0.1/serialPort src/qtserialport/src/serialport'
make[1]: *** [sub-serialport-make_default] Error 2
make[1]: Leaving directory `/home/saman/5.0.1/serialPort src/qtserialport/src'
make: *** [sub-src-make_default-ordered] Error 2
To copy to clipboard, switch view to plain text mode
Bookmarks