[Qt-creator] Problems building with Qt Creator
Tobias Hunger
tobias.hunger at nokia.com
Tue Jul 13 14:30:00 CEST 2010
Hi João!
Please be aware that this mailing list is about developing Qt creator
(not developing with Qt Creator:-). It would be appreciated, if you were
to direct more generic Qt-related questions to the qt-interst mailing
list instead.
On 13.07.2010 14:05, ext jaff at student.dei.uc.pt wrote:
> logindialog.obj:: error: unresolved external symbol
> "__declspec(dllimport) public: virtual __thiscall
> QTcpSocket::~QTcpSocket(void)" (__imp_??1QTcpSocket@@UAE at XZ) referenced
> in function "public: virtual __thiscall
> LoginDialog::~LoginDialog(void)" (??1LoginDialog@@UAE at XZ)
These are linker errors: It fails to find the QtNetwork library (which
contains the QTcpSocket class).
> From what I found online,
> similar problems were solved by reinstalling Qt, adding settings to the
> .obj file, disabling shadow building in the pro.user file...
Don't trust the internet: Those suggestions are just voodoo and do not
help with the issue:-)
Try changing
QT += core gui
to
QT += core gui network
in your .pro file instead.
Best Regards,
Tobias
--
Tobias Hunger
Software Engineer
Nokia, Qt Development Frameworks
Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori
More information about the Qt-creator-old
mailing list