[Qt-creator] Code generation issue
Alexander Drozdov
adrozdoff at gmail.com
Mon Apr 14 09:35:31 CEST 2014
Hi guys!
I found that in some cases functionality of the "Add definition to ..." and
"Switch declaration/definition" breaks.
I tried to reproduce it on Internal code-parser and master-build of Qt
Creator (
http://master.qt-project.org/snapshots/qtcreator/master/2014-04-14_180/qt-creator-opensource-linux-x86_64-master.run
).
In my case it breaks for all methods with ``bool`` as return value. If I
change bool to void code-generation menu will shown by Alt+Enter press.
Example:
https://drive.google.com/file/d/0B7JoQRxa32dwMGJfUzlKb2pWQzg/edit?usp=sharing
To reproduce:
1. go to ``skypeprofile.h``
2. put cursor before ``signals:``
3. type: bool foo();
4. move cursor to ``foo``
5. Press Alt+Enter
MENU DOES NOT SHOWN
6. Change ``bool`` to ``void`` and press Alt+Enter
Menu shown
7. Change void to bool back
8. Comment out ``#include "skype.h"`` and try toi press Alt+Enter again on
``foo``
Menu shown.
I can't reproduce it on empty project.
Can anybody reproduce it too?
--
WBR, Alexander Drozdov
http://htrd.su
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20140414/4c9db6fe/attachment.html>
More information about the Qt-creator
mailing list