On quarta-feira, 12 de setembro de 2012 16.20.01, Nikos Chantziaras wrote:
> On 02/09/12 14:38, Till Oliver Knoll wrote:
> > The effor was indeed very painless: in my case I mainly had to adjust a
> > few #include (<QtGui/Whatever> -> <QtWidgets/Whatever>) and change
> > QDir::convertSeparators to QDir::toNativeSeparators.
>
> Note that if you just do:
>
>    #include <Whatever>
>
> then you can build with both Qt4 and Qt5.

And:
 DEFINES += QT_DISABLE_DEPRECATED_SINCE=0

Qt 5.0 final will not enable the deprecated API by default. You need to re-
enable it.

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden

Attachment: signature.asc
Description: This is a digitally signed message part.

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

Reply via email to