Source: telegram-desktop
Version: 1.1.10-1
Severity: important
Tags: patch
User: [email protected]
Usertags: qt5.9

Dear maintainer,

telegram-desktop fails to build with Qt 5.9 (available in experimental):

  [  9%] Linking CXX executable codegen_style
  /usr/bin/cmake -E cmake_link_script CMakeFiles/codegen_style.dir/link.txt 
--verbose=1
  /usr/bin/c++ [...] -o codegen_style [...] -lQt5PlatformSupport -lQt5Network 
-lQt5Widgets -lQt5Gui -lQt5Core [...]
  /usr/bin/ld: cannot find -lQt5PlatformSupport
  collect2: error: ld returned 1 exit status
  CMakeFiles/codegen_style.dir/build.make:383: recipe for target 
'codegen_style' failed

Full build log can be found at:
https://launchpadlibrarian.net/324641909/buildlog_ubuntu-artful-amd64.telegram-desktop_1.1.0-1build1_BUILDING.txt.gz

The one-line patch to fix this is attached.

--
Dmitry Shachnev
Description: fix FTBFS with Qt 5.9
Author: Dmitry Shachnev <[email protected]>
Forwarded: no
Last-Update: 2017-07-07

--- a/Telegram/gyp/qt.gypi
+++ b/Telegram/gyp/qt.gypi
@@ -32,7 +32,6 @@
             ],
           },
           'qt_libs': [
-            'Qt5PlatformSupport',
             'Qt5Network',
             'Qt5Widgets',
             'Qt5Gui',

Attachment: signature.asc
Description: PGP signature

Reply via email to