[Qt-interest] Problem in compilation for terminal
Peter M. Groen
pgroen at osdev.nl
Wed Mar 10 13:35:49 CET 2010
Do you have "network" included in your config-section of your .pro file?
--
Open Systems Development
Peter M. Groen
Het Buitenwater 54
2235 TB Valkenburg (ZH)
Mob : +31-6-29563390
Email : pgroen at osdev.nl
Skype : peter_m_groen
Jonathan Finlay wrote:
> 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.
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
More information about the Qt-interest-old
mailing list