create build for linux operating system



  • I am developing an application for Linux desktop and When I am creating a build then it is not working on any other linux OS based PC.

    Please Let me know How to create a build for all Linux OS desktop?


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    This blog article explains pretty nicely what is needed.
    Then official deployment guide from Qt's documentation
    And there's the linuxdeployqt tool that can be of help.



  • @SGaist Using this the following command

    cd /path/to/Qt
    ./configure -static -prefix /path/to/Qt <other parameters>
    make

    get this error :

    bash: ./configure: No such file or directory


  • Lifetime Qt Champion

    Because you are not in Qt's sources, you first have to download them.

    Note: are you aware of the implication of a static build ?


Log in to reply