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. C1083: Cannot open include file: 'QWebView': No such file or directory
QtWS25 Last Chance

C1083: Cannot open include file: 'QWebView': No such file or directory

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 3 Posters 2.2k 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.
  • P Offline
    P Offline
    Panoss
    wrote on last edited by Panoss
    #1

    I have included webkitwidgets and webkit in my .pro file.
    But still I get the error mentioned in the title when I use:

    #include <QWebView>
    

    How can I fix this?
    (Qt Creator 2.7.0 based on Qt 5.0.2 32bit, Win xp)

    mrjjM 1 Reply Last reply
    0
    • Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by Chris Kawa
      #2

      After you modify .pro file re-run qmake (menu Build-> Run qmake).
      Oh, and make sure you're using Qt version that still has QWebView. It was deprecated and then removed in later versions.

      Btw. QtCreator 2.7.0 is pretty old. Current version is 4.2.2. Have you thought about upgrading?

      1 Reply Last reply
      3
      • P Panoss

        I have included webkitwidgets and webkit in my .pro file.
        But still I get the error mentioned in the title when I use:

        #include <QWebView>
        

        How can I fix this?
        (Qt Creator 2.7.0 based on Qt 5.0.2 32bit, Win xp)

        mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @Panoss
        If you want to use a newer of Qt, you should check out
        https://forum.qt.io/topic/76739/webkit-status-2017

        Note. You can use a newer Creator even if you stay older Qt.
        The version used for building Creator is not related to any version of Qt you have installed and
        use to build your apps.

        1 Reply Last reply
        0
        • P Offline
          P Offline
          Panoss
          wrote on last edited by Panoss
          #4

          I did: menu Build-> Run qmake and it was fixed!
          Thank you guys you were grate help!

          (I have my reasons I wanna keep this version of Qt)

          mrjjM 1 Reply Last reply
          0
          • P Panoss

            I did: menu Build-> Run qmake and it was fixed!
            Thank you guys you were grate help!

            (I have my reasons I wanna keep this version of Qt)

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @Panoss
            ok, but you can use a new Creator if u want.

            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