WebKit for minGW - how To build?
-
@jsulm Ok, I understand. Now I add in .pro
QT += webkit webkitwidgetsand I have to do something with the path. Could you tell me, where and what? I think I have to add path in qtcreator in projects->system variables -> path -> append path
I know that my question is noob question, but I prefer to ask something stupid and have perfect schedule, what I have to do, when I need other libraries.
@TomNow99 said in WebKit for minGW - how To build?:
and I have to do something with the path
What do you mean? What path? If you installed correct binaries it should just work.
-
@jsulm When I build my simple project ( I only add this line in .pro ) I get error
"Unknown module(s) in QT: webkit webkitwidgets" and in qtcreator files "mainwindow.h", "mainwindow.cpp", "main.cpp" are in dark gray color.EDIT mainwindow.ui the same dark gray color
EDIT2:
-
@jsulm When I build my simple project ( I only add this line in .pro ) I get error
"Unknown module(s) in QT: webkit webkitwidgets" and in qtcreator files "mainwindow.h", "mainwindow.cpp", "main.cpp" are in dark gray color.EDIT mainwindow.ui the same dark gray color
EDIT2:
@TomNow99 Which exact archive did you download from http://download.qt.io/snapshots/ci/qtwebkit/5.212/1600126303/qtwebkit/ ? You have to use the one matching your Qt (MinGW 64bit).
-
@jsulm I add edit2 in my last post.
I downloaded version to Win 10 mingw, so the first one - " qtwebkit-Windows-Windows_10-Mingw-Windows-Windows_10-X86_64.7z"
-
@jsulm I copied all files from "C:\Users\tom\Desktop\webkitFiles\bin"
so I copied:
I don't touch any other folder in "C:\Users\tom\Desktop\webkitFiles\bin" ( include, lib, mkspecs, qml ).
-
@jsulm I think when you wrote "(means: content of bin folder goes into the bin folder of your Qt installations and so on)." you mean really only bin folder
-
Hi,
sorry for late reply but I see @jsulm helped you sort things out.While building stuff yourself is usually (frustrating) fun and I like to do it (one can take a user from Linux but never a Linux from the user) using precompiled binaries is more often better approach. Especially if you don't intend to expand those in any way, just use. Above all, saves time.
Just to recap on your last posts - docs for QtWebKit can be sometimes misleading for a newbie. Should you attempt in the future to compile it - don't bother with cmake. Use the conan script and conan script only, on Windows if you add
--install
switch it should install binaries in your Qt folder tree ready for use. Any other approach requires a bit more digging around (and can lead to errors).Anyway, I am happy you managed to sort out your problem.
-
Is it possible to build WebKit for Qt 6 using MinGW?
-
Is it possible to build WebKit for Qt 6 using MinGW?
@8Observer8 Hi,
The module has been deprecated and is not supported anymore. You can check this fork of the original reboot project. Its author might be more able to help you.