Discussion:
[Qt-creator] Is it possible to fix QTCREATORBUG-11259 in Qt Creator 4.5?
Vincent Hui
2017-10-10 02:01:13 UTC
Permalink
Hello,

QTCREATORBUG-11259 was reported for more than 3 and half years. It is about
auto type deduction. Is it possible to fix QTCREATORBUG-11259 in Qt Creator
4.5? Now there are 17 people voting for this issue.

Thanks,
Vincent
Christian Gagneraud
2017-10-10 06:02:54 UTC
Permalink
Post by Vincent Hui
Hello,
QTCREATORBUG-11259 was reported for more than 3 and half years. It is about
auto type deduction. Is it possible to fix QTCREATORBUG-11259 in Qt Creator
4.5? Now there are 17 people voting for this issue.
+1 (20 now!)

Tested with QtC 4.4 with and without clang code model.

Chris
Post by Vincent Hui
Thanks,
Vincent
_______________________________________________
Qt-creator mailing list
http://lists.qt-project.org/mailman/listinfo/qt-creator
André Hartmann
2017-10-10 07:12:51 UTC
Permalink
Hi all,

Well, actually there are 24 votes.

Given that these 24 people are all C++ developers, has anybody of you
thought about contributing this piece of code? By voting and waiting you
don't get any step forward.

I see two possibilities: either the code model is already able to deduce
the correct type for auto, then it should be quite easy to generate the
tooltip. If the code model is not able to do this already, then some
more knowledge and work will be needed to solve this task.

Best regards,
André
Post by Christian Gagneraud
Post by Vincent Hui
Hello,
QTCREATORBUG-11259 was reported for more than 3 and half years. It is about
auto type deduction. Is it possible to fix QTCREATORBUG-11259 in Qt Creator
4.5? Now there are 17 people voting for this issue.
+1 (20 now!)
Tested with QtC 4.4 with and without clang code model.
Chris
Post by Vincent Hui
Thanks,
Vincent
_______________________________________________
Qt-creator mailing list
http://lists.qt-project.org/mailman/listinfo/qt-creator
_______________________________________________
Qt-creator mailing list
http://lists.qt-project.org/mailman/listinfo/qt-creator
--
Best regards / Mit freundlichen Grüßen
André Hartmann, Dipl.-Ing. (FH)
Software Project Manager

iseg Spezialelektronik GmbH | phone: ++49 (0)351 26996-43
Bautzner Landstr. 23 | fax: ++49 (0)351 26996-21
D-01454 Radeberg / Rossendorf | web: www.iseg-hv.com

Geschäftsführer / Managing director: Dr. F. Gleisberg, Dr. J. Pöthig
Amtsgericht / Lower district court: Dresden HRB 16250
Ust.-Id.-Nr. / VAT-ID: DE812508942

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder
diese E-Mail irrtümlich erhalten haben, informieren Sie bitte
sofort den Absender und vernichten Sie diese Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser
Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information.
If you are not the intended recipient (or have received this e-mail
in error) please notify the sender immediately and delete this e-mail.
Any unauthorized copying, disclosure or distribution of the material
in this e-mail is strictly forbidden.
t***@gmail.com
2017-10-10 07:45:30 UTC
Permalink
Hi,
Post by André Hartmann
Well, actually there are 24 votes.
I guess that's because now it has been mentioned and click-baited on
the mailing list. :)
Post by André Hartmann
I see two possibilities: either the code model is already able to deduce
the correct type for auto, then it should be quite easy to generate the
tooltip. If the code model is not able to do this already, then some
more knowledge and work will be needed to solve this task.
The clang based code model is at least smart enough to offer code
completion for the auto variables (and even pops up said tooltip when
choosing an auto variable from the autocomplete list). The only thing
missing is the tooltip when you hover over the auto variable itself.

So the problem is at least partially solved by the clang code model.

Hope this helps,
Timur
Nikolai Kosjar
2017-10-16 11:20:21 UTC
Permalink
Post by Vincent Hui
Hello,
QTCREATORBUG-11259 was reported for more than 3 and half years. It is
about auto type deduction. Is it possible to fix QTCREATORBUG-11259 in
Qt Creator 4.5? Now there are 17 people voting for this issue.
I've started work on this and plan to finish it for Qt Creator 4.6. The
release schedule for 4.5 was a bit too tight to get this properly
implemented.

https://codereview.qt-project.org/#/c/198572/

Nikolai
Vincent Hui
2018-01-03 11:24:33 UTC
Permalink
Hi Nikolai,

Thank you for working on this. I am willing to help testing Qt Creator 4.6
snapshot once you finish it. And I think many users are willing to help too.

Thanks,
Vincent
Post by Nikolai Kosjar
Post by Vincent Hui
Hello,
QTCREATORBUG-11259 was reported for more than 3 and half years. It is
about auto type deduction. Is it possible to fix QTCREATORBUG-11259 in Qt
Creator 4.5? Now there are 17 people voting for this issue.
I've started work on this and plan to finish it for Qt Creator 4.6. The
release schedule for 4.5 was a bit too tight to get this properly
implemented.
https://codereview.qt-project.org/#/c/198572/
Nikolai
Loading...