On 12/3/12 10:25 AM, Nurmi J-P wrote: >> -----Original Message----- From: >> interest-bounces+jpnurmi=digia....@qt-project.org >> [mailto:interest- bounces+jpnurmi=digia....@qt-project.org] On >> Behalf Of Stephen Chu Sent: 3. joulukuuta 2012 16:04 To: >> Interest@qt-project.org Subject: [Interest] Where in Qt 5 is >> QApplication::Type now? >> >> I just switch over the the new stable Qt 5 branch and my code fails >> to compile. >> >> One of the error is in QtSingleApplication that refers to >> QApplication::Type and it's nowhere to be found. >> >> The only mention in Qt 5 doc is this: >> http://qt-project.org/doc/qt-5.0/qcoreapplication.html >> >> But it's gone in the snapshot doc. >> >> Is it removed from Qt 5? It was there a few days ago and I don't >> see any mention of removing it in the doc or any of the headers. > > It has been removed from Qt 5 in this commit: > https://qt.gitorious.org/qt/qtbase/commit/553e216d891177ee0c2cea70bbd7f21103fc7795. > Quoting the changelog entry: "QCoreApplication::Type and > QApplication::type() have been removed. These Qt3 legacy application > types did not match the application types available in Qt5. Use for > example qobject_cast instead to dynamically find out the exact > application type."
Thanks. That makes sense. I'll just remove the lines from my copy of QtSingleApplication for now. I am not using that part of code anyway. _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest