Linking, Sizing, Resizing.... whatever....



  • Hello,

    like the Topic said it's about the Linking stuff... with Focus of App Size.

    I search a Way to make may Apps small.
    Currently it's 40MB and for a little shit App like this it's way to much.
    I don't want to recreate the shared Libs (removing features).... i want a FULL QT for Development with all Features and still small Libs.
    The next is... static Libs i included the ffmpeg librarys (avcodec,avformat,....) but it only wants to take the dynamic libs not the static ones. The statics have a lot of undefined symbols... and i'm not sure if this is a QT or LIB Problem.

    I read about compiling QT and enable the static feature .... but why isn't it enabled from the start... too scared because of license abuse?
    The Questions is... if i enable static is it still possible to use shared libs? Because sometimes it makes sense to have both ... Does it corrupt my installed QT and my Projects? Do i need to adjust something afterwards?
    And about the license Stuff counts this for 3rd Party or my own Libs too? Or only for QT Libs itself...

    It should be a easy environment for MAC OS, Windows and Linux.. with full Power + all Features, but still somehow small and i think static Linking will be the way...

    Bye


  • Moderators

    [quote author="oneposter" date="1385653570"]It should be a easy environment for MAC OS, Windows and Linux.. with full Power + all Features, but still somehow small and i think static Linking will be the way...[/quote]

    Buy the commercial license and you are free to use static linking. Or make your app GPLed, then it's also allowed.

    Use static linking in LGPL and you are asking for a court case ;) LGPL only forces you about Qt libraries, it is not concerned with any other code/ library that you are using.

    Mixed static and dynamic linking is possible, almost every application uses that, actually.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.