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. [SOLVED]error: QWebView: No such file or directory
Forum Updated to NodeBB v4.3 + New Features

[SOLVED]error: QWebView: No such file or directory

Scheduled Pinned Locked Moved General and Desktop
5 Posts 4 Posters 8.4k 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.
  • M Offline
    M Offline
    mehdi.nine
    wrote on last edited by
    #1

    Hi, i want to use from qwebview but when i #include <QWebView> it hass following error:
    @
    C:\Qt\Qt5.0.1\Tools\QtCreator\bin\untitled21\mainwindow.cpp:5: error: QWebView: No such file or directory
    @
    i test it with qt 5.0.1 and qt 5.1.0.
    any idea?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Are you missing

      @QT += webkitwidgets@

      in you pro file ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      I 1 Reply Last reply
      0
      • M Offline
        M Offline
        mehdi.nine
        wrote on last edited by
        #3

        oh thanks.

        it worked.

        1 Reply Last reply
        0
        • SGaistS SGaist

          Hi,

          Are you missing

          @QT += webkitwidgets@

          in you pro file ?

          I Offline
          I Offline
          IslamMohamed
          wrote on last edited by
          #4

          @SGaist Please can you help me with the location of the pro file, what is the pro file, and what shall it includes ?

          Thanks in Advance
          Appreciate your kind support due to urgent project deadline

          K 1 Reply Last reply
          0
          • I IslamMohamed

            @SGaist Please can you help me with the location of the pro file, what is the pro file, and what shall it includes ?

            Thanks in Advance
            Appreciate your kind support due to urgent project deadline

            K Offline
            K Offline
            koahnig
            wrote on last edited by
            #5

            @IslamMohamed

            Hi and welcome to devnet forum

            It is better fro you to start with a new post rather than steeling an old one.

            Concerning your question you can check out the QWebView example it gives you already a compilable and runnable example. Typically the example are the best start into new topics with Qt.

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

            1 Reply Last reply
            1

            • Login

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