Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2017-01

Qt5 - Size and permissions of the compiled bindings

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Gabor Boros

Hi All,

I tried to compile the bindings with Debian Stretch. Success. But the size of libQt5Pas.so.1.2.6 is very big (86222128 bytes). I compiled a debug build? The permissions of the file is 755 (libQt4Pas have 644). The execute permission(s) just a mistake?

Gabor

Reply by email

zeljko
to Gabor Boros
Gabor Boros wrote 6 lines
Hi All, I tried to compile the bindings with Debian Stretch. Success. But the size of libQt5Pas.so.1.2.6 is very big (86222128 bytes). I compiled a debug build? The permissions of the file is 755 (libQt4Pas have 644). The execute permission(s) just a mistake?

Bindings are not yet finished. See .pro file in
lcl/interfaces/qt5/cbindings and change there from debug to release mode. Don't know about permissions, not sure if .pro file is doing anything about permissions.

zeljko

Reply by email

Gabor Boros
to zeljko

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

Reply by email