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. How to Create StandAlone App for Linux which include all required libs ?
Forum Updated to NodeBB v4.3 + New Features

How to Create StandAlone App for Linux which include all required libs ?

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 4 Posters 1.2k Views 1 Watching
  • 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.
  • R Offline
    R Offline
    RahibeMeryem
    wrote on 9 Apr 2019, 13:15 last edited by
    #1

    Hi,

    Is there a practical way to create standalone distributable linux application which include all libraries (Qt and non Qt) ?

    linuxdeployqt tool gives error :

    ./linuxdeployqt-continuous-x86_64.AppImage -unsupported-allow-new-glibc
    
    linuxdeployqt 6 (commit e8148f3), build 671 built on 2019-03-30 18:35:26 UTC
    ERROR: The host system is too new.
    Please run on a system with a glibc version no newer than what comes with the oldest
    still-supported mainstream distribution, which currently is glibc 2.20.
    This is so that the resulting bundle will work on most still-supported Linux distributions.
    For more information, please see
    https://github.com/probonopd/linuxdeployqt/issues/340
    
    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 9 Apr 2019, 19:03 last edited by
      #2

      Hi,

      The linked bug explains what happens, why it's so and how to run linuxdeployqt anyway if you know what you are currently doing.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • T Offline
        T Offline
        tlhcelik
        wrote on 18 Nov 2020, 12:58 last edited by
        #3

        you can use following option.

        linuxdeployqt myBuildFolder/ -appimage -unsupported-allow-new-glibc
        
        1 Reply Last reply
        0
        • G Offline
          G Offline
          gde23
          wrote on 19 Nov 2020, 16:48 last edited by
          #4

          The problem when using the flag to ignore glibc version is that the application then wont run on systems, that have an older glibc version.

          So what you should do, if you really want to make it working on (mostly) any linux system out there is to build the project on a system with an old glibc version.
          If you just want to run it on your own machines where you know for sure, that you have a high enough version of glibc then you can just ignore the error.

          1 Reply Last reply
          0

          • Login

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