Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Missing some files
QtWS25 Last Chance

Missing some files

Scheduled Pinned Locked Moved General and Desktop
5 Posts 3 Posters 2.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sp1ri7um
    wrote on last edited by
    #1

    Hello all,

    I'm new in qt(about 10 days of programming). I have a problem with some files.I'm using gentoo.I When I try to include <QTcpSocket> to open tcp socket it says: No such fail or directory. I've tried to reinstall the packages with full options but still nothing :(
    Also I try to work with data bases and I have read that for postgres I should include "qsql_psql.cpp" , but I don't know where is this located.Any help is appreciated.
    Best regards .

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      May be some more details (e.g. on platform and tools you are using) would be helpful.

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sp1ri7um
        wrote on last edited by
        #3

        I’m using "Gentoo":http://www.gentoo.org/.I've installed qt as package from gentoo server with full use options (the packages have use list and after the first time I've tried with default use list and it didn't happen I've installed qt with all use options and still nothing)

        1 Reply Last reply
        0
        • G Offline
          G Offline
          goetz
          wrote on last edited by
          #4

          For the QTcpSocket include, did you add this to your .pro file?

          @
          QT += network
          @

          The qsql_psql.cpp is provided with the source code of Qt itself, usually in /path-to-your-qt-sources/src/sql/drivers/psql/qsql_psql.cpp

          For gentoo, you might have to add an appropriate option to the emerge call in order to enable the driver. I do not remember exactly how I did it some years ago.

          http://www.catb.org/~esr/faqs/smart-questions.html

          1 Reply Last reply
          0
          • S Offline
            S Offline
            sp1ri7um
            wrote on last edited by
            #5

            Thank you very much :) I didn't saw the description of the network module where is written to be added to the pro file option for the network.

            Greetings and have nice day :)

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved