-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Best-effort basis: Support building for Windows #15405
Comments
The good news: the community QtWebKit 5.212 is available as MinGW package for MSYS2. |
The bad news: the package seems to currently broken (see msys2/MINGW-packages#5934 or msys2/MINGW-packages#6020), perhaps even due to a new GCC. |
Currently it is disabled, due to broken QtWebKit on MinGW/MSYS2 (see #15405 for details)
It's possible to build static Conan packages of QtWebKit (all dependencies are already packaged) and use them for building of binaries of PhantomJS for all platforms in some CI service. The only trouble is building QtWebKit, of course, but GitHub Actions should be able to manage that |
tapi saya disuruh harus pakai ini : |
"MSYS Makefiles" should be used when running in MSYS shell, "MinGW Makefiles" - when using cmd.exe and mingw32-make |
Due to our very limited maintenance capacity, we need to prioritize our development focus on other tasks. Therefore, this issue will be automatically closed (see #15395 for more details). In the future, if we see the need to attend to this issue again, then it will be reopened. Thank you for your contribution! |
Thanks to the combination of MSYS2, updated qtwebkit package for MSYS2, GCC and Clang, as well as the infrastructure of GitHub Actions, finally we have the CI system running the build of the latest master branch on Windows, for both GCC and Clang! Check the log for more details: https://github.com/ariya/phantomjs/actions. Currently Windows build with MSYS2 is bit longer, around 7 minutes, compared to the Linux build (typically finishes in 2 minutes) because of the need to install various packages through Pacman. We'll find some ways to cache those packages and to optimized the bulild time. |
I try to compile the master branch, but the executable I obtain is compiled with shared library linkage mode. How can I compile in static library linkage mode, allowing redistribution of a single executable without any dependancy ? |
Although the current priority is to focus on Linux (#15398), there is no harm in making sure that building for Windows is supported or partially supported, with no 100% guarantee.
At least, this serves as a good stepping stone for any external contribution.
The text was updated successfully, but these errors were encountered: