[Interest] #define in qml

Thiago Macieira thiago at kde.org
Sun Feb 19 21:00:51 CET 2012


On domingo, 19 de fevereiro de 2012 20.41.56, qtnext wrote:
> Hi,
> 
> I wants to start testing my Qml apps (qt4.8, quick 1.1)  with Quick2 Qt5
> ... But how can I easily test it with Qt5 with a working Qt4 source ..
> Is there any way to define #ifdef QT5 import Quick 2.0 #else import
> Quick 1.1  ?

That's not how you're supposed to do it.

You're supposed to upgrade to Qt Quick 2.0 when you're ready to upgrade and 
never look back. Then you make sure it looks correct when you do.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120219/c0928f05/attachment.sig>


More information about the Interest mailing list