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. error: cannot find -lQt5WebKitWidgetsd, cannot find -lQt5WebKitd
Forum Updated to NodeBB v4.3 + New Features

error: cannot find -lQt5WebKitWidgetsd, cannot find -lQt5WebKitd

Scheduled Pinned Locked Moved Qt WebKit
6 Posts 2 Posters 1.5k 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.
  • N Offline
    N Offline
    nikich340
    wrote on last edited by nikich340
    #1

    I installed Qt-5.8.0 with MinGW-5.3.0 (32-bit) compiler on my Windows 10.
    Then I unpacked qtwebkit-tp5-qt58-mingw530-x86.zip from [https://github.com/annulen/webkit/releases] to $my_Qt_installation_path$\5.8\mingw53_32.

    When I tried to compile simple code which used QWebView (I added in .pro "QT += webkitwidgets"), I got the next compilation error:

    D:/PROGRAMS/QT/Tools/mingw530_32/bin/mingw32-make -f Makefile.Debug
    mingw32-make[1]: Entering directory 'D:/QT_projects/ISO/chapter46/build-SimpleView-Desktop_Qt_5_8_0_MinGW_32bit-Debug'
    g++ -c -pipe -fno-keep-inline-dllexport -g -std=gnu++11 -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DQT_QML_DEBUG -DQT_WEBKITWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I..\SimpleView -I. -I..\..\..\..\PROGRAMS\QT\5.8\mingw53_32\include -I..\..\..\..\PROGRAMS\QT\5.8\mingw53_32\include\QtWebKitWidgets -I..\..\..\..\PROGRAMS\QT\5.8\mingw53_32\include\QtWidgets -I..\..\..\..\PROGRAMS\QT\5.8\mingw53_32\include\QtWebKit -I..\..\..\..\PROGRAMS\QT\5.8\mingw53_32\include\QtGui -I..\..\..\..\PROGRAMS\QT\5.8\mingw53_32\include\QtANGLE -I..\..\..\..\PROGRAMS\QT\5.8\mingw53_32\include\QtNetwork -I..\..\..\..\PROGRAMS\QT\5.8\mingw53_32\include\QtCore -Idebug -I..\..\..\..\PROGRAMS\QT\5.8\mingw53_32\mkspecs\win32-g++  -o debug\main.o ..\SimpleView\main.cpp
    g++ -Wl,-subsystem,windows -mthreads -o .\SimpleView.exe debug/main.o  -lmingw32 -LD:\PROGRAMS\QT\5.8\mingw53_32\lib D:\PROGRAMS\QT\5.8\mingw53_32\lib\libqtmaind.a -LC:\utils\my_sql\my_sql\lib -LC:\utils\postgresql\pgsql\lib -lshell32 -lQt5WebKitWidgetsd D:\PROGRAMS\QT\5.8\mingw53_32\lib\libQt5Widgetsd.a -lQt5WebKitd D:\PROGRAMS\QT\5.8\mingw53_32\lib\libQt5Guid.a D:\PROGRAMS\QT\5.8\mingw53_32\lib\libQt5Networkd.a D:\PROGRAMS\QT\5.8\mingw53_32\lib\libQt5Cored.a 
    D:/PROGRAMS/QT/Tools/mingw530_32/bin/../lib/gcc/i686-w64-mingw32/5.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lQt5WebKitWidgetsd
    D:/PROGRAMS/QT/Tools/mingw530_32/bin/../lib/gcc/i686-w64-mingw32/5.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lQt5WebKitd
    collect2.exe: error: ld returned 1 exit status
    

    I think I should configure path to some Qt5WebKit libraries, but I have no idea where and how. Thanks in advance.

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

      Hi,

      QtWebkit has been deprecated and then removed since Qt 5.6.

      If you'd like to go with it you have to build it yourself, however you should go with the latest branch based on @Konstantin-Tokarev reboot of the module.

      Otherwise, you can also take a look at the QtWebEngine module.

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

      N 1 Reply Last reply
      2
      • SGaistS SGaist

        Hi,

        QtWebkit has been deprecated and then removed since Qt 5.6.

        If you'd like to go with it you have to build it yourself, however you should go with the latest branch based on @Konstantin-Tokarev reboot of the module.

        Otherwise, you can also take a look at the QtWebEngine module.

        N Offline
        N Offline
        nikich340
        wrote on last edited by
        #3

        @SGaist It's awful... To use QWebKit I should build it with MSVC, to use QWebEngine I should install MSVC. Why I have no way to stay on tiny mingw... Or I have to start with QML to use QWebEngine.

        I downloaded binaries from @Konstantin-Tokarev github repo, I thought they should work.

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

          AFAIK, QtWebKit can be build with MinGW.

          As for QtWebEngine, Qt can only follow the restrictions set by the Chromium project.

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

          N 1 Reply Last reply
          1
          • SGaistS SGaist

            AFAIK, QtWebKit can be build with MinGW.

            As for QtWebEngine, Qt can only follow the restrictions set by the Chromium project.

            N Offline
            N Offline
            nikich340
            wrote on last edited by
            #5

            @SGaist then why QWebKit was deprecated? I think if chromium is not available with other compilers, it should have an analog for them.

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

              The reasoning of QtWebEngine can be found here.

              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
              1

              • Login

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