Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-11494

symbian-abld: headers of QtNetwork are not found during build if in the .pro file, only 'wekbit' is added to 'QT'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.7.0
    • 4.7.0
    • None
    • None
    • d8df7394e72ba536188fd4b5c4a59d02307588ee

    Description

      My .pro file adds 'webkit' to 'QT'. That should add the Webkit and Network (and some more) modules to the include/link options of my project. However, if my cliet application includes <QtWebkit>, I get compile errors.
      This happens with the abld toolchain, when Qt is installed by the Qt-for-Symbian installer 4.7-beta into a S60 3.2 SDK.

      If Qt was configured with sbsv2, this works fine.

      .pro file
      QT += webkit
      SOURCES = main.cpp
      
      main.cpp
      #include <QtWebKit>
      
      int main(int argc, char *argv[])
      {
          return 0;
      }
      
      warnings
      WARNING: Can't find following headers in User or System Include Paths
       "qabstractnetworkcache.h" "qftp.h" "qhttp.h" "qnetworkaccessmanager.h" "qnetwor
      kcookie.h" "qnetworkcookiejar.h" "qnetworkdiskcache.h" "qnetworkreply.h" "qnetwo
      rkrequest.h" "qnetworkconfigmanager.h" "qnetworkconfiguration.h" "qnetworksessio
      n.h" "qauthenticator.h" "qhostaddress.h" "qhostinfo.h" "qnetworkinterface.h" "qn
      etworkproxy.h" "qurlinfo.h" "qabstractsocket.h" "qlocalserver.h" "qlocalsocket.h
      " "qtcpserver.h" "qtcpsocket.h" "qudpsocket.h" "qssl.h" "qsslcertificate.h" "qss
      lcipher.h" "qsslconfiguration.h" "qsslerror.h" "qsslkey.h" "qsslsocket.h"
      (User Inc Paths "\aportales-tests\bugs\networkincludesnotfound\" "\aportales-tes
      ts\bugs\networkincludesnotfound\")
      Dependency list for "\aportales-tests\bugs\networkincludesnotfound\main.cpp" may
       be incomplete
      
      compile errors
      ...
      Q:\qt\include\QtNetwork\QtNetwork:4: the file 'qabstractnetworkcache.h' cannot be opened
      Q:\qt\include\QtNetwork\QtNetwork:5: the file 'qftp.h' cannot be opened
      Q:\qt\include\QtNetwork\QtNetwork:6: the file 'qhttp.h' cannot be opened
      Q:\qt\include\QtNetwork\QtNetwork:7: the file 'qnetworkaccessmanager.h' cannot be opened
      Q:\qt\include\QtNetwork\QtNetwork:8: the file 'qnetworkcookie.h' cannot be opened
      Q:\qt\include\QtNetwork\QtNetwork:9: the file 'qnetworkcookiejar.h' cannot be opened
      Q:\qt\include\QtNetwork\QtNetwork:10: the file 'qnetworkdiskcache.h' cannot be opened
      Q:\qt\include\QtNetwork\QtNetwork:11: the file 'qnetworkreply.h' cannot be opened
      Q:\qt\include\QtNetwork\QtNetwork:12: the file 'qnetworkrequest.h' cannot be opened
      Q:\qt\include\QtNetwork\QtNetwork:13: the file 'qnetworkconfigmanager.h' cannot be opened
      Q:\qt\include\QtNetwork\QtNetwork:14: the file 'qnetworkconfiguration.h' cannot be opened
      Q:\qt\include\QtNetwork\QtNetwork:15: the file 'qnetworksession.h' cannot be opened
      ...
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            e0348803 Miikka Heikkinen
            portale Alessandro Portale
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes