Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. Tags
    3. headers
    Log in to post

    • SOLVED Move header and source files to different location
      Installation and Deployment • project headers sources • • szumial  

      6
      0
      Votes
      6
      Posts
      31
      Views

      @szumial said in Move header and source files to different location: I don't remember adding these non-standard paths in that previous project Before, your header files and source files were located in the same directory. The preprocessor searches for header files in same directory, then in directories specified using -I parameter (that is what INCLUDEPATH adds) and then in system directories.
    • SOLVED Accessing headers/cookies in WebSockets handshake request
      General and Desktop • websocketserver cookies headers • • Cocojambo  

      5
      0
      Votes
      5
      Posts
      49
      Views

      @Pablo-J-Rogina Accidentally found needed code in QT sources. It returns all the cookies one by one. QVariant hdr = rq.header(QNetworkRequest::CookieHeader); QList<QNetworkCookie> cookies = qvariant_cast<QList<QNetworkCookie> >(hdr); QList<QNetworkCookie>::ConstIterator it = cookies.begin(), end = cookies.end(); for ( ; it != end; ++it) { qDebug() << it->name(); }
    • SOLVED QT unable to find header file
      General and Desktop • compile-error headers uimainwindow.h rename files • • daredevil  

      3
      0
      Votes
      3
      Posts
      323
      Views

      Thanks VRonin, Your solution resolved the issue. Kind of kicking myself for not thinking about that.