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
Forum Updated to NodeBB v4.3 + New Features

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 2 Watching
  • 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 13 May 2017, 11:54 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)

    M 1 Reply Last reply 13 May 2017, 12:25
    0
    • C Offline
      C Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on 13 May 2017, 12:15 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
        13 May 2017, 11:54

        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)

        M Offline
        M Offline
        mrjj
        Lifetime Qt Champion
        wrote on 13 May 2017, 12:25 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 13 May 2017, 12:51 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)

          M 1 Reply Last reply 13 May 2017, 12:53
          0
          • P Panoss
            13 May 2017, 12:51

            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)

            M Offline
            M Offline
            mrjj
            Lifetime Qt Champion
            wrote on 13 May 2017, 12:53 last edited by
            #5

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

            1 Reply Last reply
            0

            1/5

            13 May 2017, 11:54

            • Login

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