[Qt-interest] Problem in compilation for terminal

Jonathan Finlay jmfinlayp at gmail.com
Wed Mar 10 13:21:55 CET 2010


Hi, I got a problem when I try  to compile from terminal, i do qmake-qt4 &&
qmake && make but in the make i have this out put:

g++ -c -pipe -O2 -Wall -W -D_REENTRANT  -DQT_NO_DEBUG -DQT_GUI_LIB
-DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt4/mkspecs/linux-g++ -I.
-I/usr/lib/qt4/include/QtCore -I/usr/lib/qt4/include/QtCore
-I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include/QtGui
-I/usr/lib/qt4/include -I. -I. -I. -o ftpwindow.o ftpwindow.cpp
g++  -o ftp ftpwindow.o main.o moc_ftpwindow.o    -L/usr/lib/qt4/lib -lQtGui
-L/usr/lib/mysql -lpng -lSM -lICE -lXi -lXrender -lXrandr -lXcursor
-lXinerama -lfreetype -lfontconfig -lXext -lX11 -lQtCore -lz -lm -ldl
-lpthread
ftpwindow.o: In function `FtpWindow::cdToParent()':
ftpwindow.cpp:(.text+0x2e1): undefined reference to `QFtp::cd(QString
const&)'
ftpwindow.cpp:(.text+0x315): undefined reference to `QFtp::list(QString
const&)'
ftpwindow.cpp:(.text+0x34b): undefined reference to `QFtp::cd(QString
const&)'
ftpwindow.o: In function `FtpWindow::processItem(QTreeWidgetItem*, int)':
ftpwindow.cpp:(.text+0x11d1): undefined reference to `QFtp::cd(QString
const&)'

Any body know what is wrong?

-- 
Jonathan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100310/f20d7aa4/attachment.html 


More information about the Qt-interest-old mailing list