http://wiki.qt.io/Transition_from_Qt_4.x_to_Qt5
/*============================================================================*/
error: C1083: Cannot open include file: 'QApplication': No such file or directory
*.pro
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
Delete the debug folder!
/*============================================================================*/
error: LNK1104: cannot open file 'glu32.lib'
Repair Visual Studio 2013!
/*============================================================================*/
#include <QDialog> -> #include <QtWidgets>
/*============================================================================*/
error: LNK1104: cannot open file 'debug\find.exe'
!!! Close The App. !!!
/*============================================================================*/
error: C2653: 'QMessageBox' : is not a class or namespace name
#include <QMessageBox>
/*============================================================================*/
QT += network
MyServer QTcpServer
MyThread QThread
/*============================================================================*/
#include <QtGui/QApplication> -> #include <QApplication>
/*============================================================================*/
error: Cannot connect creator comm socket /tmp/qt_temp.JH2103/stub-socket: No such file or directory
Tools > Options > Environment > General > System > Terminal: xterm -e
/*============================================================================*/
error: ISO C++ forbids initialization of member '???' [-fpermissive]
Initialize your members in the constructor, preferably in its initialization list.
Only static const integral members can be initialized inside the class definition like that.
/*============================================================================*/
error: a brace-enclosed initializer is not allowed here before '{' token
/*============================================================================*/
warning: the address of 'QTextStream& endl(QTextStream&)' will always evaluate as 'true' [-Waddress]
std::endl
/*============================================================================*/
error: 'qintptr' has not been declared
int
/*============================================================================*/
error: Warning: Z-order assignment: 'layoutWidget' is not a valid widget.
/*============================================================================*/
error: 'const class QGLContext' has no member named 'moveToThread'
ver 4x vs. 5x
/*============================================================================*/