WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: qt-4.x with exceptions?  (Read 1649 times)

Offline SvOlli

  • Full Member
  • ***
  • Posts: 193
  • Linux Developer
qt-4.x with exceptions?
« on: July 24, 2010, 12:55:56 PM »
Hello!

I've had the request to add QtXmlPatterns to the qt-4.x package. QtXmlPatterns requires Qt compiled with exceptions, which I've disabled until now, because it leads to much smaller code. Any suggestions on what to do? Recompile with exceptions enabled, or keep it the way it is now?

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: qt-4.x with exceptions?
« Reply #1 on: July 24, 2010, 02:13:15 PM »
what is the size gain with -fno-exceptions ?

Offline SvOlli

  • Full Member
  • ***
  • Posts: 193
  • Linux Developer
Re: qt-4.x with exceptions?
« Reply #2 on: July 24, 2010, 02:29:40 PM »
Code: [Select]
extension            |new   |old   |gain
---------------------+------+------+----
qt-4.x-base.tcz      |  7.7M|  6.4M| 20%
qt-4.x-dbus.tcz      |360.0K|276.0K| 30%
qt-4.x-designer.tcz  |  6.1M|  5.4M| 12%
qt-4.x-dev.tcz       |  8.5M|  7.2M| 18%
qt-4.x-extended.tcz  |872.0K|760.0K| 14%
qt-4.x-opengl.tcz    |344.0K|296.0K| 12%
qt-4.x-qt3support.tcz|  1.5M|  1.2M| 25%
qt-4.x-qtconfig.tcz  |108.0K| 88.0K| 22%
qt-4.x-script.tcz    |  1.5M|  1.2M| 25%
qt-4.x-webkit.tcz    |  8.3M|  7.0M| 18%
So the rough guess, it's about 18%-20%. These are not all packages, docs and packages that have changed in configuration have been dropped.

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: qt-4.x with exceptions?
« Reply #3 on: July 24, 2010, 02:47:42 PM »
for me size gain is not much but it is up to you, so far i didn't need xmlpatterns module for kde4 being probably the most advanced software built on qt4 and kde4 is working without problems with no exceptions