Portál AbcLinuxu, 13. května 2025 17:12
qmake makeAle po make dostanu toto
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 2Soucasti baliku QT4 je soubor /usr/bin/uic , tak jsem skusil udelat symlink na /usr/bin/uic-qt4 a ted kompilace konci na tomto:
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 2V adresari /usr/qt/3/tools je pouze dalsi adresar Designer a /usr/bin/moc-qt4 neexistuje. Pouze /usr/bin/moc , tak jsem skusil opet symlink, ale kompilace opet neprojde:
cd src/ && make -f Makefile make[1]: Entering directory `/home/zsman/Dev/Flash/ezxflash/ezxflash/src' /usr/bin/moc-qt4 -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. mainwindow.h -o moc_mainwindow.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 moc_mainwindow.o moc_mainwindow.cpp /usr/bin/moc-qt4 -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. phone.h -o moc_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 moc_phone.o moc_phone.cpp g++ -o ../ezxflash main.o phone.o mainwindow.o moc_mainwindow.o moc_phone.o -L/usr/lib -lp2kmoto -L/usr/local/lib -lQtGui -lQtCore -lpthread /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lQtGui collect2: ld returned 1 exit status make[1]: *** [../ezxflash] Error 1 make[1]: Leaving directory `/home/zsman/Dev/Flash/ezxflash/ezxflash/src' make: *** [sub-src-make_default] Error 2Rekl bych ze ty symlinky asi nejsou spravna cesta, ale do programovani nevidim, Takze poradi nekdo jak to zkompilovat? (pripadne neudelal by nejaky gentooista ebuild?) Diky
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.