Priority: Not Evaluated
Affects Version/s: 2.3.3
Fix Version/s: None
This is a clone of https://bugreports.qt.io/browse/QTVSADDINBUG-281 since the original issue still persists with Qt VS Add-In 2.3.3 and Visual Studio 2019.
The bug happens when using tr() inside a namespace and the source and header files are located in different directories.
I attached a Visual Studio project showing the problem.
In the attached project lupdate reports
C:/Temporary/LUpdateTest/src/LUpdateTest/LUpdateTest.cpp:11: Qualifying with unknown namespace/class ::LUpdateTest
for the following source (LUpdateTest.cpp):
The name tag contains "LUpdateTest" but it should be "Namespace::LUpdateTest".