Results 1 to 5 of 5

Thread: Over 100mb of dependencies with Qt?

  1. #1
    Join Date
    Oct 2013
    Posts
    142
    Thanks
    36
    Thanked 3 Times in 3 Posts
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows Android

    Default Over 100mb of dependencies with Qt?

    So I ported a Python webapp to Qt Qml + WebView and when gathering all required Qt dependencies the directory uses over 100mbs, is this normal?

  2. #2
    Join Date
    Dec 2009
    Location
    New Orleans, Louisiana
    Posts
    791
    Thanks
    13
    Thanked 153 Times in 150 Posts
    Qt products
    Qt5
    Platforms
    MacOS X

    Default Re: Over 100mb of dependencies with Qt?

    I've only developed Qt apps for the mac and I use C++, not QML. My footprint is usually in the ~ 30MB range. 100MB seems high, but as I said, once you add QML into the mix, I'm not surprised that your footprint requirement is larger.

    I assume you've already taken obvious steps like ensuring you're not including framework features that you don't need and not using, etc.
    I write the best type of code possible, code that I want to write, not code that someone tells me to write!

  3. The following user says thank you to jefftee for this useful post:

    adutzu89 (3rd December 2016)

  4. #3
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Over 100mb of dependencies with Qt?

    I think this depends a lot on the platfor, the configuration of Qt and which modules of Qt are being used.

    E.g. I think at some point on Windows there was/is a deploment dependency on ICU, which has lots of data for timezone handling.
    Not need on any modern platform as those have ICU in the system. But developers who's applications didn't need timezone support could build Qt without.

    Cheers.
    _

  5. The following user says thank you to anda_skoa for this useful post:

    adutzu89 (3rd December 2016)

  6. #4
    Join Date
    Oct 2013
    Posts
    142
    Thanks
    36
    Thanked 3 Times in 3 Posts
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows Android

    Default Re: Over 100mb of dependencies with Qt?

    Sorry for not saying which platform is the target: it's Linux/X11.
    I assume you've already taken obvious steps like ensuring you're not including framework features that you don't need and not using, etc.
    Yes, I've put only the Qt libraries required.

    Apparently libQt5WebEngineCore.so.5 uses most of mentioned space 75mb.

  7. #5
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Over 100mb of dependencies with Qt?

    Yes, web engines are pretty complex these days and Blink is also known to include forks of several libraries.

    Cheers,
    _

Similar Threads

  1. around circular dependencies
    By tonnot in forum General Programming
    Replies: 6
    Last Post: 18th February 2011, 13:20
  2. Build without any dependencies
    By Dato0011 in forum Qt Tools
    Replies: 5
    Last Post: 22nd December 2009, 16:21
  3. library dependencies.....
    By surender99 in forum Qt Programming
    Replies: 1
    Last Post: 3rd April 2009, 20:06
  4. application dependencies
    By yagabey in forum Qt Programming
    Replies: 1
    Last Post: 18th March 2009, 08:33
  5. Linux dependencies
    By LMZ in forum Qt Programming
    Replies: 6
    Last Post: 21st May 2007, 08:54

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.