Hi.
I am developing Qt applications in C++ using Visual Studio 2013. The 'Create Implementation' has a little problem with Qt data types.
If I declare in a class a member function that returns a Qt data type, the 'Create Implementation' command will add a QT_NAMESPACE:: specifier to the return type. For example, the implementation for member function
QLocale Preferences::getLocale() const
will be
QT_NAMESPACE::QLocale Preferences::getLocale() const
{
}
Note the the problem occurs only for the return type.
void Preferences::setLocale(QLocale const& locale);
will be implemented properly as
void Preferences::setLocale(QLocale const& locale)
{
}
My system:
Windows 8.1 Ultimate 64bit EN
Visual Studio 2013 Professional EN
Visual Assist build 2059
Qt 5.4.1