Results 1 to 7 of 7

Thread: Please Help, QTcpSocket class use

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2010
    Posts
    24
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Please Help, QTcpSocket class use

    hello, i am new to Qt. i am trying to implement a client server application.



    i get error messages for one line of code!!





    this is my code.



    i have included the <QtNetwork/QTcpSocket> class



    code:



    QTcpSocket socket;

    socket.connectToHost("Local Host",5000);





    thats it.



    i am using qt creator 4.6, with the option to design UI interface too.



    these are the errors



    undefined reference to '_imp__ZN10QTcpSocketC1EP7QObject'

    similar to the above 10 errors!



    please help!!
    Attached Files Attached Files
    Last edited by aash_89; 12th July 2010 at 18:55.

Similar Threads

  1. Replies: 5
    Last Post: 20th April 2010, 17:48
  2. QTcpSocket as class member of QThread Issue
    By zyangxue in forum Qt Programming
    Replies: 4
    Last Post: 12th December 2009, 06:42
  3. Replies: 3
    Last Post: 27th December 2008, 19:34
  4. Replies: 3
    Last Post: 16th May 2007, 11:07
  5. Signal/slot looking in base class, not derived class
    By georgie in forum Qt Programming
    Replies: 2
    Last Post: 12th May 2006, 07:36

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.