Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. QT Static Build: libxcb-cursor0 error
Forum Updated to NodeBB v4.3 + New Features

QT Static Build: libxcb-cursor0 error

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
4 Posts 3 Posters 86 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.
  • E Offline
    E Offline
    etibars
    wrote last edited by
    #1

    I want to build a fully static binary from my QT Application. But in the end some libraries are still not linked statically (like libxcb-cursor).
    Is there a way to include those libraries inside the binary?

    My configure command:
    sudo ./configure -release -qt-pcre -static -opensource -confirm-license -prefix /home/user/Qt/6.9.1/Build-Static

    Christian EhrlicherC 1 Reply Last reply
    0
    • E etibars

      I want to build a fully static binary from my QT Application. But in the end some libraries are still not linked statically (like libxcb-cursor).
      Is there a way to include those libraries inside the binary?

      My configure command:
      sudo ./configure -release -qt-pcre -static -opensource -confirm-license -prefix /home/user/Qt/6.9.1/Build-Static

      Christian EhrlicherC Online
      Christian EhrlicherC Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote last edited by
      #2

      @etibars said in QT Static Build: libxcb-cursor0 error:

      But in the end some libraries are still not linked statically (like libxcb-cursor).

      So did you built those libs statically or installed the static versions for them?

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      0
      • E Offline
        E Offline
        etibars
        wrote last edited by
        #3

        I don't know how I can build or install them statically.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote last edited by
          #4

          Hi and welcome to devnet,

          As silly as it may sound: download their sources and follow their instructions to build them.

          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

          • Login

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