Solved qtcreator autocompletion for c++ auto keyword
-
When I write
std::shared_ptr<QWidget> w = std::make_shared<QWidget>();
And then
w.
function list will popup.
But when I writeauto w = std::make_shared<QWidget>();
Nothing popup when I write
w.
Doesn't qtcreator support auto keyword yet?
My qtcreator version is 4.5.2 under ubuntu 1804 -
That is a good question.
However, you are using an old version of creator. Therefore, it is also very likely that it has been introduced, but in a latter version of creator. Weare already at version 4.10
-
-
@aha_1980
OK. But ubuntu 1804 only has 4.5.2. -
@Mr-Pang You can install it with the online installer together with a recent Qt version.
That's how I do it on Ubuntu 18.04 ;)