Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Function and variable names in macOS Qt release build
Qt 6.12 LTS is out! See what's new in the release blog

Function and variable names in macOS Qt release build

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 325 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.
  • M Offline
    M Offline
    mjsmithers
    wrote on last edited by
    #1

    Hi,
    I just ran 'nm' on one of my Qt app release builds and ended up with a very detailed list that includes every function name and global variable name from my code. I thought Release builds were supposed to strip or obfuscate all names. Is there something I can add to the .pro file to make this happen?
    Thanks,
    Michael

    Pl45m4P 1 Reply Last reply
    0
    • M mjsmithers

      Hi,
      I just ran 'nm' on one of my Qt app release builds and ended up with a very detailed list that includes every function name and global variable name from my code. I thought Release builds were supposed to strip or obfuscate all names. Is there something I can add to the .pro file to make this happen?
      Thanks,
      Michael

      Pl45m4P Offline
      Pl45m4P Offline
      Pl45m4
      wrote on last edited by
      #2

      @mjsmithers

      Hi,

      there was this topic lately. Have a look here

      • https://forum.qt.io/topic/145863/how-to-protect-my-code-in-qt

      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

      ~E. W. Dijkstra

      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
      • Unsolved