QtWebKit don't Build
-
Hi,
Currently student, I need to compile QtWebkit with latest binary in all OS.
On windows I have the following problem :
I tried to build qtwebkit from https://github.com/annulen/webkit.git since https://github.com/qt/qtwebkit seem don't work.
I have theses restrictions :
Qt version is 5.10.1
ICU is 62
OpenSSL is latest
Use MVSC 14.0Try compile in MVSC x64 console ( or with vcvarsall.bat x64 ) with :
perl Tools\Scripts\build-webkit --qt --release --cmakeargs="-Wno-dev -DCMAKE_PREFIX_PATH=C:\BUILD_64\qt -G \"Visual Studio 14 Win64\" -DQT_USES_GLES2_ONLY=ON"
And got the following error :
"C:\SOURCES\qt5\qtwebkit\WebKitBuild\Release\ALL_BUILD.vcxproj" (cible par défaut) (1) -> "C:\SOURCES\qt5\qtwebkit\WebKitBuild\Release\Source\WebKit\qt\tests\tst_hybridPixmap.vcxproj" (cible par défaut) (32) - > (CustomBuild cible) -> C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: Arrêt de "c md.exe" avec le code -1073741515. [C:\SOURCES\qt5\qtwebkit\WebKitBuild\Release\Source\WebKit\qt\tests\tst_hybridPixmap. vcxproj]
I already searched lots of topic but didn't found one who work in my case.
-
Did you call
vcvarsall.bat amd64
? -
@Konstantin-Tokarev Currently not, I used the x64 console or vcvarsall.bat x64
What's supposed change ?
Edit : just tried and same error. -
Did you post complete error message? My guess was that compiler set up is wrong, it still might hold, or there should be other hint what is broken.
-
That was the complete error message but I have 240 warning message before.
It's normal if I can't simply use https://github.com/qt/qtwebkit.git ?
What could be wrong with the compiler setup ? -
@Soreth said in QtWebKit don't Build:
It's normal if I can't simply use https://github.com/qt/qtwebkit.git ?
No. it should work fine. Use 5.212 branch. Alternatively, you can use prebuilt binaries from http://download.qt.io/snapshots/ci/qtwebkit/5.212/latest/qtwebkit/
-
@Konstantin-Tokarev
With binaries download that work fine but with https://github.com/qt/qtwebkit.git -b 5.212 that don't work.
I got this error :CMake Error at C:/CMake/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find Sqlite (missing: SQLITE_INCLUDE_DIR SQLITE_LIBRARIES) Call Stack (most recent call first): C:/CMake/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE) Source/cmake/FindSqlite.cmake:62 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) Source/cmake/OptionsQt.cmake:437 (find_package) Source/cmake/WebKitCommon.cmake:50 (include) CMakeLists.txt:137 (include)
-
You need to follow https://github.com/annulen/webkit/wiki/Building-QtWebKit-on-Windows
-
@Konstantin-Tokarev
It's what I did,I tried under linux and got the same error like if the thirds party packages downloaded wasn't found. -
@Soreth On Linux you need to install dependencies first
https://github.com/annulen/webkit/wiki/Building-QtWebKit-on-Linux
-
@Konstantin-Tokarev
That what I did, but still not found them -
What Linux distro are you using?
-
@Konstantin-Tokarev
I use Ubuntu 16.04 and followed this tutorial : https://github.com/annulen/webkit/wiki/Building-QtWebKit-on-Linux but don't work.
I use windows 10 and followed this tutorial : https://github.com/annulen/webkit/wiki/Building-QtWebKit-on-Windows But don't work.
I tried with https://github.com/qt/qtwebkit.git 5.212 and https://github.com/annulen/webkit.git 5.212 but don't work, I asked other peoples to try on their computer ( same OS ) and also don't work. -
Could you show full output of cmake? Did you install libsqlite3-dev package and cmake reports that sqlite is not found? That does not make any sense