Project

General

Profile

How to Install PrivacyBrowser PC on Windows?

Added by राही अखेराजोत almost 2 years ago

Please tell us how to install it on Windows 7 and others after installing CMake and KDevelop.


Replies (1)

RE: How to Install PrivacyBrowser PC on Windows? - Added by Soren Stoutner almost 2 years ago

I have not yet done any testing of building or installing it on Windows. My plan (not quite firm enough yet to write it up under the roadmap) is to release an alpha version around Christmas of this year for Linux, and only after that start building and testing it on Windows. Windows will be fully supported by the beta release, although I am first going to do a bit of experimentation to see if I can ship a usable version that runs under the Windows Subsystem for Linux instead of a native Windows build. I am suspicious that WSL isn't quite ready for the task yet, but if it is there are several advantages to doing so, including that it will make automatic upgrades easier and that it will help move Windows users to a more open platform. However, one downside of that would be that it would not be supported on Windows 7, and possibly not even on the older WSL available for Windows 10.

As a general answer to your question, you will need to make sure you have installed all the Qt and KDE development libraries listed in the main CMakeLists.txt. Note that KDevelop isn't a requirement to build the code, although if you are already using KDevelop and have all the dependencies properly configured, opening the included PrivacyBrowserPC.kdev4 should make building the project very easy.

https://gitweb.stoutner.com/?p=PrivacyBrowserPC.git;a=blob;f=CMakeLists.txt;hb=HEAD

At the time of this writing these are the development libraries that need to be available to build Privacy Browser PC, and the corresponding runtime libraries need to be available on the system to run it:

# Load the Qt components.
find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS
    Core
    Gui
    Sql
    WebEngineCore
    WebEngineWidgets
    Widgets
)

# Load the KDE Frameworks components.
find_package(KF5 ${KDE_FRAMEWORKS_MIN_VERSION} REQUIRED COMPONENTS
    Completion
    ConfigWidgets
    CoreAddons
    Crash
    DBusAddons
    DocTools
    I18n
    KIO
    XmlGui
)

Beyond that there might be some aspects of the code that need to be tweaked to make the build compile, and there almost certainly are aspects of the code that will need to be modified to make features work correctly on Windows (for example, downloading of files).

If you are able to get it working before I get around to it in the beta release, please share your instructions here on the forum so that others can take advantage of them.

    (1-1/1)