Error building desktop client for linux

I’m trying to compile the desktop client for linux, but the build fails with the following error:

-- Found SQLite3: /usr/lib64/libsqlite3.so (Required is at least version "3.8.0") 
CMake Warning (dev) at cmake/modules/CheckPrototypeDefinition.cmake:43 (if):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "HAVE_ICONV_CONST" will no longer be dereferenced
  when the policy is set to NEW.  Since the policy is not set the OLD
  behavior will be used.
Call Stack (most recent call first):
  cmake/modules/FindIconv.cmake:55 (check_prototype_definition)
  csync/CMakeLists.txt:22 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found SQLite3: /usr/lib64/libsqlite3.so;/usr/lib64/libsqlite3.so (Required is at least version "3.8.0") 
-- Found Qt5 core, checking for further dependencies...
CMake Error at cmake/modules/QtVersionAbstraction.cmake:25 (find_package):
  By not providing "FindQt5WebKitWidgets.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "Qt5WebKitWidgets", but CMake did not find one.

  Could not find a package configuration file provided by "Qt5WebKitWidgets"
  with any of the following names:

    Qt5WebKitWidgetsConfig.cmake
    qt5webkitwidgets-config.cmake

  Add the installation prefix of "Qt5WebKitWidgets" to CMAKE_PREFIX_PATH or
  set "Qt5WebKitWidgets_DIR" to a directory containing one of the above
  files.  If "Qt5WebKitWidgets" provides a separate development package or
  SDK, be sure it has been installed.
Call Stack (most recent call first):
  src/CMakeLists.txt:8 (include)


-- Configuring incomplete, errors occurred!
See also "/usr/src/pakete/client_theming/build-linux/CMakeFiles/CMakeOutput.log".
See also "/usr/src/pakete/client_theming/build-linux/CMakeFiles/CMakeError.log".

What am I missing?

Hello,

I had same errors yesterday while trying to build, install following packages:

  • libsqlite3-dev
  • libqt5webkit5-dev
  • qttools5-dev-tools

I can’t find these packages, but as I’m on gentoo-linux, dev-packages are installed automatically when I install the libs.
So I assume I need qtwebkit, but it seems to be deprecated:

  • dev-qt/qtwebkit
    Latest version available: 5.6.1
    Latest version installed: [ Not Installed ]
    Size of files: 34.479 KiB
    Homepage: https://www.qt.io/
    Description: WebKit rendering library for the Qt5 framework (deprecated)
    License: || ( LGPL-2.1 LGPL-3 ) FDL-1.3

Yes currently you need qtwebkit.
It is indeed deprecated but the client requires it to be able to do proper SAML stuff.

Thank you for the explanation. Knowing this, i’d rather stay with connecting via webdav. I’m on gnome here and qt looks quite ugly for me anyway :wink:

Hehe fair enough. lets not get into that flame war :stuck_out_tongue_winking_eye:

1 Like

lets not get into that flame war

Especially when all know that QT apps look much nicer (especially on the correct desktop environment of choice, which is of course the KDE plasma desktop). Oh, and nano beats emacs and vi both hands down. :kissing_heart: