Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Building Telegram Desktop Issue
Forum Updated to NodeBB v4.3 + New Features

Building Telegram Desktop Issue

Scheduled Pinned Locked Moved Unsolved General and Desktop
telegramcompile
7 Posts 3 Posters 2.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mr.AliReza
    wrote on 19 Aug 2016, 13:47 last edited by Mr.AliReza
    #1

    Hey guys!
    I want to build Telegram Desktop under Ubuntu 16.04. I use this document:
    https://github.com/telegramdesktop/tdesktop/blob/master/doc/building-qtcreator.md

    But my problem is that when I want to build "Telegram.pro" for Debug (after "if GeneratedFiles are not found click Run qmake from Build menu and try again"), I got these errors:

    :-1: error: cannot find -lqtharfbuzzng
    :-1: error: cannot find -lqtpcre
    :-1: error: collect2: error: ld returned 1 exit status
    

    How to fix them?! Please help.
    Thanks!

    1 Reply Last reply
    0
    • P Offline
      P Offline
      Pradeep Kumar
      wrote on 19 Aug 2016, 13:52 last edited by
      #2

      -lqtharfbuzzng and -lqtpcre libraries are missing , may be you need to install them.

      Pradeep Kumar
      Qt,QML Developer

      1 Reply Last reply
      2
      • P Offline
        P Offline
        Pradeep Kumar
        wrote on 19 Aug 2016, 13:52 last edited by
        #3

        @Mr-AliReza
        welcome to the forum

        Pradeep Kumar
        Qt,QML Developer

        1 Reply Last reply
        1
        • V Offline
          V Offline
          VRonin
          wrote on 19 Aug 2016, 13:54 last edited by
          #4

          See http://stackoverflow.com/questions/32010314/qt5-5-how-can-i-include-qts-qtpcre-lib-and-qtharfbuzzng-lib-with-cmake

          "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
          ~Napoleon Bonaparte

          On a crusade to banish setIndexWidget() from the holy land of Qt

          M 1 Reply Last reply 19 Aug 2016, 14:11
          3
          • V VRonin
            19 Aug 2016, 13:54

            See http://stackoverflow.com/questions/32010314/qt5-5-how-can-i-include-qts-qtpcre-lib-and-qtharfbuzzng-lib-with-cmake

            M Offline
            M Offline
            Mr.AliReza
            wrote on 19 Aug 2016, 14:11 last edited by
            #5

            @VRonin Thanks, but I couldn't fix it. Can't I add these libraries like this:

            LIBS += ./../../../Libraries/qt5_6_0/qtbase/lib/libqtharfbuzzng.a \
                ./../../../Libraries/qt5_6_0/qtbase/lib/libqtpcre.a
            
            M 1 Reply Last reply 20 Aug 2016, 11:55
            0
            • V Offline
              V Offline
              VRonin
              wrote on 19 Aug 2016, 14:29 last edited by
              #6

              depends where you have the libraries... these are relative paths

              "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
              ~Napoleon Bonaparte

              On a crusade to banish setIndexWidget() from the holy land of Qt

              1 Reply Last reply
              2
              • M Mr.AliReza
                19 Aug 2016, 14:11

                @VRonin Thanks, but I couldn't fix it. Can't I add these libraries like this:

                LIBS += ./../../../Libraries/qt5_6_0/qtbase/lib/libqtharfbuzzng.a \
                    ./../../../Libraries/qt5_6_0/qtbase/lib/libqtpcre.a
                
                M Offline
                M Offline
                Mr.AliReza
                wrote on 20 Aug 2016, 11:55 last edited by
                #7

                Still has errors !!

                1 Reply Last reply
                0

                1/7

                19 Aug 2016, 13:47

                • Login

                • Login or register to search.
                1 out of 7
                • First post
                  1/7
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved