[Qt-interest] Make error when reducing qt-embedded lib size with qconfig

Brecht Ameije bam at ABM.BE
Thu Sep 2 14:26:07 CEST 2010


Thanks for your response.
 
I did re-enable QTemporaryFile, and then I get other errors. Even when I use
the provided qconfig-small.h, I get errors.
 
Eventually I tried with the qconfig-medium.h, that finally worked.
 
Then I tracked down which setting it was that caused the problem, by
comparing the medium config and my reduced config. After a lot of work (each
time changing some settings, reconfiguring, compiling) I found out what it
was: QSettings and QLibrary are needed to make my keyboardplugin compile.
There were no clues in the errors, that's what made it so difficult to find.
 
Hope someone finds this usefull...
 
Brecht

  _____  

From: Thiago Macieira [mailto:thiago at kde.org] 
Sent: woensdag 25 augustus 2010 10:11
To: qt-interest at trolltech.com
Cc: Brecht Ameije
Subject: Re: [Qt-interest] Make error when reducing qt-embedded lib size
with qconfig



Em Quarta-feira 25 Agosto 2010, às 09:52:08, Brecht Ameije escreveu:
> access/qnetworkdiskcache_p.h:79: error: ISO C++ forbids declaration of
> 'QTemporaryFile' with no type

You must either disable QNetworkAccessManager or re-enable QTemporaryFile.

--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100902/88eeaf47/attachment.html 


More information about the Qt-interest-old mailing list