Results 1 to 13 of 13

Thread: QTcpServer(this)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2018
    Posts
    22
    Qt products
    Qt5
    Platforms
    Windows
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default Re: QTcpServer(this)

    doh! Thank you so much, I was a bit tired when i wrote it.
    I completely missed that it wasn't just a random:
    Qt Code:
    1. qDebug() << "Did we get to this part of the code?"
    To copy to clipboard, switch view to plain text mode 
    Now it makes sense again!

    I usually don't execute statements in a qDebug, this was purely because I at the time was uncertain that the connection ever got established. I just forgot to delete it again.
    I will use your advice to save it in a variable and then pass it to qDebug to avoid a situation like this again, Thank you!

    Best regards David
    Last edited by DAVC; 27th March 2018 at 07:36.

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Wiki edits
    17

    Default Re: QTcpServer(this)

    Regarding the Qwt setup. Commonly you build Qwt and install it (make install) to put the resulting libs, includes etc into a configurable location (e.g. c:\Qwt-6.1.3). Then the instructions here, with Qwt as a feature, have worked for me. Nothing but "CONFIG += qwt" needed in the PRO file for a build, but the qwt.dll needs to be in the run-time PATH of the process in order for the result to run.
    "We can't solve problems by using the same kind of thinking we used when we created them." -- Einstein
    If you are posting code then please use [code] [/code] tags around it - makes addressing the problem easier.

Similar Threads

  1. QTcpServer
    By shreeja in forum Newbie
    Replies: 1
    Last Post: 28th December 2015, 09:21
  2. QTcpServer
    By DmitryNik in forum Newbie
    Replies: 0
    Last Post: 25th October 2011, 12:36
  3. QTcpServer
    By DmitryNik in forum Newbie
    Replies: 2
    Last Post: 1st October 2011, 08:07
  4. QTcpServer and GDB
    By baray98 in forum Qt Programming
    Replies: 2
    Last Post: 21st January 2009, 08:02
  5. Replies: 1
    Last Post: 18th June 2006, 10:12

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.