Important: Please read the Qt Code of Conduct -

Support needed in acheiving Qt Code Obfuscation using Commercial License

  • Hi,
    We have developed an app using Qt (Core,GUI, Network and WebEngine) modules. We are concerned about the code obfuscation as we need to distribute the app installer(NSIS installer - creates installation exe with all the necessary libraries and app executable) across our various clients.
    We came across the Qt License document which says "One of the most important legal protection means provided by the commercial license of Qt is to forbid modifications and reverse engineering – and using various methods to prevent these".
    We would like to get clarification for the following queries,

    1. How the code is protected and reverse engineering is forbidden ?
    2. "Licenses keep all code private".....Is this specific to only development level or also supported in deployment ?
    3. When we distribute the Qt app package bundled with libraries and executable, does Commercial license support code protection at the deployed systems ?
    4. If we purchase Qt Commercial license, then the process of code obfuscation is taken care by Qt or do we need to carry out any procedures in specific from developer end ?

    Thanks & Regards,

  • Moderators

    Qt does not obfuscate your code at all.

    The legal protection Qt Company refers to here is that under commercial license you are no longer bound by GPL/ LGPL licenses, which both force you to keep (at least) Qt code (libs) unobfuscated.

    If you want to obfuscate/ encrypt your code, take a look at (for example) LDK:

    However, please remember that C++ already obfuscates a lot when it compiles the program.
    Also, remember that your QML code will be available in clear text unless you pack it into QRC resource.

  • Hi Sierdzio,

    Thanks for your prompt reply. It cleared all our doubts on obfuscating C++ code.

    Thanks & Regards,

Log in to reply