[Webkit-unassigned] [Bug 50385] [Qt] Make platform managing of OSAllocator better than r73106

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 2 10:36:50 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=50385





--- Comment #5 from Geoffrey Garen <ggaren at apple.com>  2010-12-02 10:36:50 PST ---
This patch came out of a discussion I started by email, so I'll paste that here for context:

> I ran into some trouble today with the Qt build system. I wanted to use separate files to separate concerns about different OS's like so:
> 
> OSAllocator.h // cross-platform header
> OSAllocatorPosix.cpp // used on POSIX OS's
> OSAllocatorWin.cpp // used on Windows
>
> This fits the convention we use in WebCore, and it avoids cluttering files with #ifdefs and discordant implementations.
>
> It worked fine for most ports, but not for Qt, because Qt uses the same build project for both Linux and Windows.
>
> Is there any way to make portions of Qt's build project conditional based on OS, or to use different projects on different OS's?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list