libQt5Pas.so should build in release mode by default
Original Reporter info from Mantis: rusty_robot
-
Reporter name:
Original Reporter info from Mantis: rusty_robot
- Reporter name:
Description:
Qt5Pas.pro has config += debug, which results in large binary size and non-optimized build. It should be changed to release instead, unless there are special considerations.
Additional information:
References:
https://wiki.lazarus.freepascal.org/Qt5_Interface
You should also probably edit Qt5Pas.pro to build a release version rather than debug,
https://forum.lazarus.freepascal.org/index.php?topic=44607.0
In Qt5Pas.pro file set -=debug and +=release so size will be about 2.5 Mb (and then rebuild bindings)
Mantis conversion info:
- Mantis ID: 36856
- Version: 2.0.7 (SVN)
- Fixed in revision: 62883 (#2675c986)
- Monitored by: » @neurolabusc1 (Chris Rorden)