[SOLVED] LogText is not a member of 'Qt' issue in auto generated ui file by uic
General and Desktop
4
Posts
2
Posters
2.9k
Views
1
Watching
-
wrote on 28 Feb 2014, 12:39 last edited by
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);@ -
wrote on 28 Feb 2014, 13:06 last edited by
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
-
wrote on 28 Feb 2014, 13:16 last edited by
I changed the TextFormat of label from designer and problem solved. Thanks a lot.
-
wrote on 28 Feb 2014, 13:18 last edited by
You are welcome - don't forget to mark topic as [SOLVED]
1/4