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.