[yocto] Qt build error for Debug and Release mode
Khem Raj
raj.khem at gmail.com
Tue Jun 18 13:41:10 PDT 2013
On Jun 18, 2013, at 9:15 AM, Navani Srivastava <navani.srivastava at gmail.com> wrote:
> Hi,
>
> I am using poky-danny (Poky-8.0). I am facing problem in building Qt application.
>
> When we are building Qt application with “qmake CONFIG+=debug && make” it appends “-g” to build the application in debug mode but when we are building application in release mode by issuing following command “qmake CONFIG+=release && make”, then also it appends “-g” to it.
>
> So building Qt application in release mode also results in debug mode output.
>
>
While it will be stripped in the end and won't make much difference as far as the packages are concerned it probably coming from
SELECTED_OPTIMIZATION variable which cmake is using to construct the release cflags
You can set DEBUG_FLAGS = "" in your local.conf and it will not show up
> Any fix for this?
>
> Thanks and Regards
> Navani Kamal Srivastava
>
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20130618/61bd295e/attachment.html>
More information about the yocto
mailing list