Results 1 to 4 of 4

Thread: What Linux libs needed for connectToHost() to work?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: What Linux libs needed for connectToHost() to work?

    Qt on Linux uses BSD sockets for networking and AFAIK this is part of glibc thus you don't need any extra libraries. Did you verify using system tools (e.g. wireshark) there is no network traffic between the target and its environment?


    This is the list of libraries my QtNetwork links against:
    $ ldd ~/Qt/5.3/gcc_64/lib/libQt5Network.so | awk '{ print $1; }'
    linux-vdso.so.1
    libQt5Core.so.5
    libpthread.so.0
    libstdc++.so.6
    libc.so.6
    libicui18n.so.52
    libicuuc.so.52
    libdl.so.2
    libgthread-2.0.so.0
    librt.so.1
    libglib-2.0.so.0
    libm.so.6
    libgcc_s.so.1
    /lib64/ld-linux-x86-64.so.2
    libicudata.so.52
    libpcre.so.3


    You can see it is just pthreads, icu and pcre apart the other standard libraries (+dynamically loaded OpenSSL in case of using SSL sockets).
    Last edited by wysota; 25th November 2014 at 14:16.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. how to statically compile a program with qt libs?linux platform
    By berlinud in forum Installation and Deployment
    Replies: 8
    Last Post: 27th August 2010, 17:38
  2. why on Linux ,doesn't work?
    By maider in forum Qt Programming
    Replies: 5
    Last Post: 11th March 2010, 09:57
  3. Replies: 3
    Last Post: 18th February 2010, 17:43
  4. How to work on Linux and Eclipse
    By sudheer168 in forum Qt Programming
    Replies: 2
    Last Post: 20th October 2009, 23:35

Tags for this Thread

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.