Hi
What is the difference between tr and translate in the code?
thanks
Hi
What is the difference between tr and translate in the code?
thanks
http://qt-project.org/doc/qt-5/qcore...html#translate
Basically QObject::tr() automatically provides the "context" argument for QCoreApplication::translate()Returns the translation text for sourceText, by querying the installed translation files. The translation files are searched from the most recently installed file back to the first installed file.
QObject::tr() provides this functionality more conveniently.
Cheers,
_
rezas1000 (15th August 2014)
Bookmarks