Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Desktop Client blueprints for KDE Craft

📘 We decided to use https://community.kde.org/Craft to get all binary dependencies of the desktop client.

Windows

  1. Follow the instructions in https://community.kde.org/Get_Involved/development/Windows
  2. When asked for where you want us to install Craft, give the path to C:\Craft64

⚠️ C:\Craft64 is in case you are trying to create a installer using the scripts from https://github.com/nextcloud/client-building/:

👀 nextcloud/client-building/blob/common.inc.bat line 14

if "%BUILD_ARCH%" == "Win64" ( set "CRAFT_PATH=c:\Craft64" )

Otherwise you can keep the install path suggested by Craft.

  1. Add the blueprints from this repository:
$ craft --add-blueprint-repository [git]https://github.com/nextcloud/desktop-client-blueprints.git
$ craft craft
  1. Install all desktop client dependencies:
$ craft --install-deps nextcloud-client
  1. Create the folder resources in the Craft install path.

  2. Copy the following files from the Craft install path bin folder the resources folder:

  • icudtl.dat
  • qtwebengine_devtools_resources.pak
  • qtwebengine_resources.pak
  • qtwebengine_resources_100p.pak
  • qtwebengine_resources_200p.pak
  1. Now when building the desktop client, you can point cmake to the Craft install folder with:
-DCMAKE_PREFIX_PATH=%CRAFT_PATH%

👀 nextcloud/client-building/single-build-desktop.bat line 142:

cmake "-G%CMAKE_GENERATOR%" .. -DMIRALL_VERSION_SUFFIX="%VERSION_SUFFIX%" -DWITH_CRASHREPORTER=OFF -DBUILD_UPDATER=%BUILD_UPDATER% -DBUILD_WIN_MSI=%BUILD_INSTALLER_MSI% -DMIRALL_VERSION_BUILD="%BUILD_DATE%" -DCMAKE_INSTALL_PREFIX="%MY_INSTALL_PATH%" -DCMAKE_BUILD_TYPE="%BUILD_TYPE%" -DCMAKE_PREFIX_PATH=%CRAFT_PATH% -DPng2Ico_EXECUTABLE="%Png2Ico_EXECUTABLE%" %CMAKE_EXTRA_FLAGS_DESKTOP%

Linux

TBD.

Mac OS

TBD.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages