Quote Originally Posted by Dumbledore View Post
I get: ./AllTextEx.h:2: error: expected class-name before '{' token...
Because of missing #include <QTextEdit>.

Quote Originally Posted by Dumbledore View Post
I get:
MChat.cpp.text$_ZN8Ui_MChat7setupUiEP11QMainWind ow[Ui_MChat::setupUi(QMainWindow*)]+0x343): undefined reference to `vtable for QTextEditEx'
MChat.cpp.text$_ZN8Ui_MChat7setupUiEP11QMainWind ow[Ui_MChat::setupUi(QMainWindow*)]+0x353): undefined reference to `vtable for QTextEditEx'
Make sure that the QTextEditEx code is included in your .pro file.