Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
diana:windows:building:qt [2009-11-16 16:32:25] dages |
diana:windows:building:qt [2022-05-31 09:29:31] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | Download the sources from http:// | + | Download the sources from http:// |
+ | |||
+ | There is (at least) one known bug in 4.4.x, which is that Qt includes incorrect prototypes for Windows's atomic increment / decrement / compare / exchange primitives, see for instance: | ||
+ | |||
+ | * http:// | ||
+ | * http:// | ||
+ | |||
+ | As a workaround, edit '' | ||
+ | |||
+ | extern " | ||
+ | __declspec(dllimport) long __stdcall InterlockedCompareExchange(volatile long *, long, long); | ||
+ | __declspec(dllimport) long __stdcall InterlockedIncrement(volatile long *); | ||
+ | __declspec(dllimport) long __stdcall InterlockedDecrement(volatile long *); | ||
+ | __declspec(dllimport) long __stdcall InterlockedExchange(volatile long *, long); | ||
+ | __declspec(dllimport) long __stdcall InterlockedExchangeAdd(volatile long *, long); | ||
+ | } | ||
+ | |||
+ | There is another bug which can not easily be fixed: when saving PNG files, Qt seems to invert the colors on transparent layers. | ||
+ | |||
+ | **NOTE: both bugs have been fixed in 4.5.3** | ||
+ | |||
+ | ===== License ===== | ||
+ | |||
+ | met.no has a commercial license. | ||
- | **oops**: (talk to Qt Software about this) the '' |