Didier LINK wrote:
Le jeudi 07 décembre 2006 à 22:24 +0000, Christopher Jimenez a écrit :
Hi Wengo Comunity.

Hi Christopher,

Searching the code i see this line a couple of times
#if (defined OS_WINDOWS) && (defined QT_COMMERCIAL)

I was wondering how do you define in the client that is using QT_COMMERCIAL?
Where is this flag located? and how can i Change it? It this located in some python script?
Or i should defined in the soptions or in the compile line?
Something like?
scons mode=release qtwengophone qtcommercial=1

This define is located in the QT headers that's used during compile time
(like in qt/qglobal.h). The only way to have it defined is to have the
commercial version of QT, not the GPL one (open source).

No it is not, there is no QT_COMMERCIAL define inside qglobal.h
WengoSCons defines it so I've removed this on trunk and replace it by:
#if (defined OS_WINDOWS) && (QT_EDITION == QT_EDITION_DESKTOP)

Check http://dev.openwengo.org/trac/openwengo/trac.cgi/browser/wengophone-ng/branches/wengophone-2.0/wengoscons/wengoscons/wengoenv.py#L1601

--
Tanguy Krotoff <[EMAIL PROTECTED]>
http://openwengo.org
_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Reply via email to