[Qt-creator] making static app under creator

Konstantin Tokarev annulen at yandex.ru
Mon Jan 21 09:38:27 CET 2013


20.01.2013, 12:10, "Diego Iastrubni" <diegoiast at gmail.com>:
> On Wed, Jan 16, 2013 at 3:45 PM, Konstantin Tokarev <annulen at yandex.ru> wrote:
>> 16.01.2013, 17:39, "Duane Hebert" <duane.hebert at group-upc.com>:
>>> Linux platform.  TinyCore.  Stripped down for a controller.
>>>
>>> I'm building already with CONFIG -= qt.  But if I run ldd, I get a few dependancies - libstdc++, libc etc.
>>
>> You can get rid of them by using proper QMAKE_C(XX)FLAGS
>>
>> http://www.trilithium.com/johan/2005/06/static-libstdc/
>
> Or.. maybe hand writing a special Makefile, and hand tune it. This may be a corner case which you might feel more happy if you fully control it.

Well, customising CFLAGS does not require you to switch project type, but there may be other reasons of course.

-- 
Regards,
Konstantin



More information about the Qt-creator mailing list