Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. QtWebKitsWidgets/QtGraphicsWebView:No such file or directory

QtWebKitsWidgets/QtGraphicsWebView:No such file or directory

Scheduled Pinned Locked Moved Unsolved Qt WebKit
webkit
11 Posts 4 Posters 2.5k 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.
  • V Offline
    V Offline
    vmur_90
    wrote on 7 Dec 2018, 15:41 last edited by
    #1

    Hi folks,
    I keep getting the following error while trying to build a program of mine:
    In file included from /home/vmur/Envision/DebugBuild/Alloy/precompiled_cpp.cpp:1:
    /home/vmur/Envision/Alloy/src/precompiled.h:47:10: fatal error: QtWebKitWidgets/QGraphicsWebView: No such file or directory
    #include <QtWebKitWidgets/QGraphicsWebView>
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    make[2]: *** [Alloy/CMakeFiles/Alloy-Precompiled-Header.dir/build.make:63: Alloy/CMakeFiles/Alloy-Precompiled-Header.dir/precompiled_cpp.cpp.o] Error 1
    make[1]: *** [CMakeFiles/Makefile2:4093: Alloy/CMakeFiles/Alloy-Precompiled-Header.dir/all] Error 2
    make[1]: *** Waiting for unfinished jobs....

    Can someone pointer me in the right direction please.I am relatively new to Qt,so please be gentle.Thanks

    R 1 Reply Last reply 7 Dec 2018, 15:44
    0
    • V vmur_90
      7 Dec 2018, 15:41

      Hi folks,
      I keep getting the following error while trying to build a program of mine:
      In file included from /home/vmur/Envision/DebugBuild/Alloy/precompiled_cpp.cpp:1:
      /home/vmur/Envision/Alloy/src/precompiled.h:47:10: fatal error: QtWebKitWidgets/QGraphicsWebView: No such file or directory
      #include <QtWebKitWidgets/QGraphicsWebView>
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      compilation terminated.
      make[2]: *** [Alloy/CMakeFiles/Alloy-Precompiled-Header.dir/build.make:63: Alloy/CMakeFiles/Alloy-Precompiled-Header.dir/precompiled_cpp.cpp.o] Error 1
      make[1]: *** [CMakeFiles/Makefile2:4093: Alloy/CMakeFiles/Alloy-Precompiled-Header.dir/all] Error 2
      make[1]: *** Waiting for unfinished jobs....

      Can someone pointer me in the right direction please.I am relatively new to Qt,so please be gentle.Thanks

      R Offline
      R Offline
      raven-worx
      Moderators
      wrote on 7 Dec 2018, 15:44 last edited by
      #2

      @vmur_90
      QtWebKit is unavailable since Qt 5.6 onwards

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      1
      • K Offline
        K Offline
        Konstantin Tokarev
        wrote on 7 Dec 2018, 17:21 last edited by
        #3

        What Qt version are you using, and how did you install it? You may need to install QtWebKit separately

        V 1 Reply Last reply 8 Dec 2018, 03:03
        0
        • K Konstantin Tokarev
          7 Dec 2018, 17:21

          What Qt version are you using, and how did you install it? You may need to install QtWebKit separately

          V Offline
          V Offline
          vmur_90
          wrote on 8 Dec 2018, 03:03 last edited by vmur_90 12 Aug 2018, 22:52
          #4

          @Konstantin-Tokarev I have qt5.11.2.I installed it via the offline installer.I have also installed libqt5webkit5 libqt5webkit5-dev on my system

          K 1 Reply Last reply 11 Dec 2018, 13:20
          0
          • V vmur_90
            8 Dec 2018, 03:03

            @Konstantin-Tokarev I have qt5.11.2.I installed it via the offline installer.I have also installed libqt5webkit5 libqt5webkit5-dev on my system

            K Offline
            K Offline
            Konstantin Tokarev
            wrote on 11 Dec 2018, 13:20 last edited by Konstantin Tokarev 12 Nov 2018, 13:21
            #5

            @vmur_90 Then you can use Qt from the your system repositories

            V 1 Reply Last reply 14 Dec 2018, 02:59
            1
            • K Konstantin Tokarev
              11 Dec 2018, 13:20

              @vmur_90 Then you can use Qt from the your system repositories

              V Offline
              V Offline
              vmur_90
              wrote on 14 Dec 2018, 02:59 last edited by
              #6

              @Konstantin-Tokarev Problem persists.Now can you please tell me how i can make cmake find this file ie from inside qtcreator.I have tried exporting the path to no avail.Thanks

              1 Reply Last reply
              0
              • S Offline
                S Offline
                SGaist
                Lifetime Qt Champion
                wrote on 14 Dec 2018, 21:55 last edited by
                #7

                Hi,

                Did you re-run cmake for your project from scratch ?

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

                V 1 Reply Last reply 15 Dec 2018, 22:27
                0
                • S SGaist
                  14 Dec 2018, 21:55

                  Hi,

                  Did you re-run cmake for your project from scratch ?

                  V Offline
                  V Offline
                  vmur_90
                  wrote on 15 Dec 2018, 22:27 last edited by
                  #8

                  @SGaist Yes,i did

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on 16 Dec 2018, 07:42 last edited by
                    #9

                    Just realized, are you trying to mix your distribution provided QtWebkit module with your Qt installation done using the installer ?

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

                    V 1 Reply Last reply 16 Dec 2018, 17:14
                    1
                    • S SGaist
                      16 Dec 2018, 07:42

                      Just realized, are you trying to mix your distribution provided QtWebkit module with your Qt installation done using the installer ?

                      V Offline
                      V Offline
                      vmur_90
                      wrote on 16 Dec 2018, 17:14 last edited by vmur_90
                      #10

                      @SGaist Yes,is it possible?.The reason i ended up with 2 versions was i couldn't find qt-sdk on lubuntu repos

                      1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on 16 Dec 2018, 20:44 last edited by
                        #11

                        Your installer based Qt has absolutely no idea of what you have on your system and you should in any case not mix libraries from different versions of Qt.

                        There's no "Qt SDK" package in Ubuntu. You can start with qtbase5-dev and then add the dev packages corresponding to the modules you want to use.

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

                        1 Reply Last reply
                        0

                        1/11

                        7 Dec 2018, 15:41

                        • Login

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