[QBS] Quick reference for porting pro files?

Tom Sutcliffe devtomsci at me.com
Mon Mar 5 12:47:58 CET 2012


[Resending with correct address!]

>> Also note that currently building with qbs on Windows has some
>> limitations, as it doesn't define all the same definitions as qmake. For
>> example, it doesn't build with big file support, nor unicode. You can
>> have a little explanation on the task link.
> 
> You're probably talking about MinGW here. The MSVC cpp module defines 
> UNICODE and WIN32. We should do the same in the MinGW module of course.

True those two are defined but there are still a bunch missing - for eg in my release build (msvc2010, compared to qmake on 4.7.4):

-DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2

are all missing from qbs's output (as of latest git). Admittedly nothing in my project relies on any of those, except for QT_NO_DEBUG which changes the meaning of some custom assert macros.

Cheers,

Tomsci
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20120305/546daac8/attachment.html>


More information about the Qbs mailing list