Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Can't find webkitwidgets

Can't find webkitwidgets

Scheduled Pinned Locked Moved Solved Installation and Deployment
9 Posts 3 Posters 1.2k Views 1 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
    Phamy1289
    wrote on last edited by
    #1

    I've installed Qt 5.11.3 and QtCreator 4.4.1 on Centos 8. When I tried to run my project, I get an error stating:

    "Project MESSAGE: Normal Build
    Project ERROR: Unknown module(s) in QT: webkitwidgets
    12:47:30: The process "/home/hpham/DevEnv/Qt5.11/5.11.3/gcc_64/bin/qmake" exited with code 3.
    Error while building/deploying project SPIT_MP (kit: Desktop)
    When executing step 'qmake'"

    I installed the qt5-webkit-devel, but it didn't fix the issue. Am I missing anything?

    raven-worxR 1 Reply Last reply
    0
    • P Phamy1289

      I've installed Qt 5.11.3 and QtCreator 4.4.1 on Centos 8. When I tried to run my project, I get an error stating:

      "Project MESSAGE: Normal Build
      Project ERROR: Unknown module(s) in QT: webkitwidgets
      12:47:30: The process "/home/hpham/DevEnv/Qt5.11/5.11.3/gcc_64/bin/qmake" exited with code 3.
      Error while building/deploying project SPIT_MP (kit: Desktop)
      When executing step 'qmake'"

      I installed the qt5-webkit-devel, but it didn't fix the issue. Am I missing anything?

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @Phamy1289
      QtWebKit was removed with Qt 5.6. You can either add it yourself from the repos.
      Or better, port your project to QtWebEngine

      --- 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
      • P Offline
        P Offline
        Phamy1289
        wrote on last edited by
        #3

        Oh, I see. Is the same true for QWebView?

        raven-worxR 1 Reply Last reply
        0
        • P Phamy1289

          Oh, I see. Is the same true for QWebView?

          raven-worxR Offline
          raven-worxR Offline
          raven-worx
          Moderators
          wrote on last edited by raven-worx
          #4

          @Phamy1289
          when you talk about the widget used to display QtWebKit then yes of course.
          If you talk about the QtWebView module, then no. this is uses QtWebEngine

          --- 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
          0
          • P Offline
            P Offline
            Phamy1289
            wrote on last edited by
            #5

            Ok, I got it thanks. I will try to add it myself from the repos before I port my project. Thank you

            1 Reply Last reply
            0
            • P Offline
              P Offline
              Phamy1289
              wrote on last edited by
              #6

              I tried porting the project to QtWebEngine and now I'm getting linker errors stating that QtCore and stdc++ are incompatible with Qt5.11.3. What versions of the two would be compatible with Qt5.11.3?

              jsulmJ 1 Reply Last reply
              0
              • P Phamy1289

                I tried porting the project to QtWebEngine and now I'm getting linker errors stating that QtCore and stdc++ are incompatible with Qt5.11.3. What versions of the two would be compatible with Qt5.11.3?

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @Phamy1289 said in Can't find webkitwidgets:

                QtCore and stdc++ are incompatible with Qt5.11.3

                Looks like you're mixing two different Qt versions.
                Please show the whole error.

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • P Offline
                  P Offline
                  Phamy1289
                  wrote on last edited by
                  #8

                  The following is what is displayed when I try to build my project:

                  /usr/bin/ld: skipping incompatible /home/hpham/DevEnv/Qt5.11/5.11.3/gcc_64/lib/libQt5Core.so when searching for -lQt5Core
                  /usr/bin/ld: cannot find -lQt5Core
                  /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/8/libstdc++.so when searching for -lstdc++
                  make[2]: Leaving directory '/home/hpham/DevEnv/SpitClient/orig_spit/quazip/quazip'
                  make[1]: Leaving directory '/home/hpham/DevEnv/SpitClient/orig_spit/quazip'
                  /usr/bin/ld: cannot find -lstdc++
                  collect2: error: ld returned 1 exit status
                  make[2]: *** [Makefile:315: libquazip.so.1.0.0] Error 1
                  make[1]: *** [Makefile:46: sub-quazip-make_first] Error 2
                  make: *** [Makefile:79: sub-quazip-make_first] Error 2
                  09:51:21: The process "/usr/bin/make" exited with code 2.
                  Error while building/deploying project SPIT_MP (kit: Desktop)
                  The kit Desktop has configuration issues which might be the root cause for this problem.
                  When executing step "Make"

                  I'm using QtCreator 4.4.1 and Qt Library 5.11.3

                  1 Reply Last reply
                  0
                  • P Offline
                    P Offline
                    Phamy1289
                    wrote on last edited by
                    #9

                    I just found out what I was doing wrong. I had set the wrong bit for the compiler. It was set to 32bit instead of 64bit. Thanks for the help, especially the news about QWebKit being depricated. I'll mark it as solved.

                    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