[Lazarus] Qt5 - Size and permissions of the compiled bindings
Gabor Boros
mlnglsts at bgss.hu
Mon Jan 2 20:52:12 CET 2017
2017. 01. 02. 17:10 keltezéssel, zeljko írta:
> Bindings are not yet finished. See .pro file in
> lcl/interfaces/qt5/cbindings and change there from debug to release mode.
Modified from
CONFIG -= release
CONFIG += debug
to
CONFIG += release
CONFIG -= debug
and the size of the compiled so file is 3202768 bytes, after install
2331624 bytes ("strip --strip-unneeded" called by make install).
> Don't know about permissions, not sure if .pro file is doing anything
> about permissions.
make install set the permissions with "install -m 755 -p
libQt5Pas.so.1.2.6 ...". The Makefile (generated by qmake) contains two
lines about install/permissions:
INSTALL_FILE = install -m 644 -p
INSTALL_PROGRAM = install -m 755 -p
So, the "make install" think the installed thing is a program and set
the execute permissions.
Gabor
More information about the Lazarus
mailing list