Tuesday, 26 October 2010

Problems with connecting the TCPSocket

I'm having difficulties with setting up a tcpSocket in Qt. Just in initiating a QTcpSocket I get the following error  undefined reference to `_imp___ZN10QTcpSocketD1Ev' I think this is due to a library file missing or similar but I'm not sure what you do within the Qt framework.


In terms of the other planned stuff I couldn't do some without getting the connection set up but I have looked at the pure data and I've got it working with a monitor background to some extent

1 comment:

  1. Thanks for posting here.

    This may be due to something missing in your .pro file. Did you add

    QT += network

    ?


    And did you run qmake (build->run qmake) afterwards, before compiling? (it may be good to do a make clean first, then qmake, then build)

    You should not need any external libraries, as far as I know.

    If the above does not solve the problem, maybe it's something in your code.. Let me know how it goes and let's go from there.

    ReplyDelete