From: Julien CARBONNIER <julien.carbonnier@analogway.com>
To: "meta-freescale@yoctoproject.org" <meta-freescale@yoctoproject.org>
Subject: Unable to compile Qt5 Application in Release Mode
Date: Wed, 05 Aug 2015 11:24:58 +0200 [thread overview]
Message-ID: <55C1D66A.2020403@analogway.com> (raw)
Hi,
I'm on branch "imx-3.14.28-1.0.1_patch" an I cannot compile Qt
Application in release mode.
I configure qtbase recipe like this :
PACKAGECONFIG_remove_mx6dl = "alsa pulseaudio tslib icu examples tests
tools sql-ibase sql-mysql sql-psql sql-odbc sql-oci sql-tds sql-db2
sql-sqlite2 sql-sqlite xinerama directfb openssl gtkstyle qtwebkit kms
nis mitshm"
QT_CONFIG_FLAGS_append_mx6dl = " -no-qml-debug -no-compile-examples"
In my recipe application, I use a git repository and add depends to
qtbase and to compile it I use "require recipes-qt/qt5/qt5.inc".
I have a problem with the size of my application because in build
directory the binary size is ~90M.
I use an external toolchain with the source from qt and the rootfs of my
machine and the binary size is ~5M.
When I deploy this application it works like a charm.
I searched for the flags -force-debug-info in qtbase configuration and I
can't find where is set because I think that my application is in
release mode with debug info.
Best regards,
Julien
reply other threads:[~2015-08-05 9:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55C1D66A.2020403@analogway.com \
--to=julien.carbonnier@analogway.com \
--cc=meta-freescale@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.