[Qt-interest] Qt compilation issue

Chirag Anand anand.chirag at gmail.com
Wed Jan 25 18:53:02 CET 2012


On Jan 25 11:45, Andreas Pakulat wrote:
> On 25.01.12 15:03:51, Chirag Anand wrote:
[..] 
> Looks like your Qt picks up some headers from outside its source-dir, do
> you also have Qt development stuff installed in /usr/include maybe? That
> would explain this since the member was introduced in 4.8, so if there's
> a system-Qt < 4.8 your Qt compilation may pick up the qsizepolicy.h from
> that instead of its own. Cleanup your system Qt and remove all headers
> or install it in a way that the headers are not in the default search
> path of the compiler.

Yes I had Qt 4.7.2 headers installed inside /usr/include/qt4, which was
indeed the problem. I renamed the directory and its compiling past that
stage (fingers-crossed). Thanks a lot for the hint.

-- 
Chirag Anand
http://atvariance.in



More information about the Qt-interest-old mailing list