[SOLVED] LogText is not a member of 'Qt' issue in auto generated ui file by uic
-
I moved a project from Qt4 to Qt5. But I got issues under below.
@
/home/ckurdu/Documents/my_works/C++/qt/my_projects/ckurduCMS/output/debug/ui_dlg_onlylocal.h:92: error: 'LogText' is not a member of 'Qt'
lbl_log->setTextFormat(Qt::LogText);@ -
try to find in your .ui file string "Qt::LogText" and change it - "Qt::TextFormat":http://qt-project.org/doc/qt-5/qt.html#TextFormat-enum , cleanup target folder and rebuild
-
I changed the TextFormat of label from designer and problem solved. Thanks a lot.
-
You are welcome - don't forget to mark topic as [SOLVED]