21.02.2012, 22:09, "Thiago Macieira" <thi...@kde.org>:
> On terça-feira, 21 de fevereiro de 2012 18.06.37, qtnext wrote:
>
>>  it's sure that lot of people will wait for a release version of 5.0, or
>>  5.1, if there is no way to use the same source code with #ifdef ...
>>  Providing the way to test Qt5 before, will allow more feedback from
>>  users ... and a stronger release ! just my two cents !
>
> There's nothing we can do. The language simply doesn't support it.

Wouldn't it be possible to enable simple version comparison like e.g.

if (QtQuick.Version < 2) {
// some code
} else {
// other code
}

?

-- 
Regards,
Konstantin
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to