[Qt-creator] Qt Creator 4.2.0 - Blank outline for some C++ files in imported autotools project
OmegaPhil
OmegaPhil at startmail.com
Mon Nov 20 19:56:55 CET 2017
Yes, symbols appear here.
Over time, the file that has a blank outline changes - the original
referenced file is fine now, but value-history.cpp has no outline just -
however deleting and retyping a brace, and suddenly the outline appears.
I usually don't fiddle with files but if thats all it takes to kick Qt
Creator to show the code model..
OK, I'll sit on this until trivial edits don't bring the outline into
life. Before I post an official bug, I'll likely need to rebuild the
4.3.1-1+b2 Debian package on unstable so that it works in this Devuan
Ascii environment and I can upgrade to it (atm the former is dependent
on Qt5.9 which creates a huge upgrade dependency mess, 5.7 is in Ascii
currently).
Thanks
On 20/11/17 09:06, Nikolai Kosjar wrote:
> Do you have symbols in the locator for the file? "C++ Symbols in Current Document" - Ctrl+K, dot (.), space
>
> Activating the clang code model might provide some useful diagnostic/hints. http://doc.qt.io/qtcreator/creator-clang-codemodel.html#activating-clang-code-model
>
> Please report at http://bugreports.qt.io/
>
> Nikolai
>
> ________________________________________
> From: Qt-creator <qt-creator-bounces+nikolai.kosjar=qt.io at qt-project.org> on behalf of OmegaPhil <OmegaPhil at startmail.com>
> Sent: Friday, November 17, 2017 6:54:31 PM
> To: qt-creator at qt-project.org
> Subject: [Qt-creator] Qt Creator 4.2.0 - Blank outline for some C++ files in imported autotools project
>
> I'm looking at curve-view.cpp
> (https://git.xfce.org/panel-plugins/xfce4-hardware-monitor-plugin/tree/src/curve-view.cpp),
> and the Outline is blank on the left (and '<No Symbols>' is shown on the
> top bar).
>
> Looking at Tools -> C++ -> Inspect C++ Code Model... -> Snapshots and
> Documents: Current Editor's Snapshot, the bottom Symbols tab has useful
> symbols, and there is no Diagnostic Messages or Undefined Macros output.
> Same for other listed snapshots.
>
> As a normal user, is there any way for me to investigate why Qt Creator
> (presumably) doesn't like the file?
>
> Thanks for any help.
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20171120/b552dd34/attachment.sig>
More information about the Qt-creator
mailing list