Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Code completion for Eigen library doesn’t seem to fully work
pitoz last edited by
I just started using Eigen 3.2.0 on QTCreator. I've tested it with QTCreator 2.8.1 and 3.0.0.
All is well but code completion only seems to partially work – I get a bunch of options, but many are missing. Here’s a screenshot of an uber simple code snippet – as you’ll see, the list of available functions for m0 is limited (e.g. block() and col() are missing but cols() is there).
However, all of these functions seem to be usable – the code compiles and runs properly. This is a problem, given that Eigen has a lot of functionalities, and I’m nowhere close to remembering the name for all of them. I tried a bunch of random things, but am not quite sure what’s going on. Here’s the code from my .pro project file, in case
@QT += core
QT -= gui
TARGET = LearnEigen
CONFIG += console
CONFIG -= app_bundle
TEMPLATE = app
SOURCES += main.cpp
INCLUDEPATH += ....\Libs\Eigen
Would be forever thankful for any advice or pointers to other threads that may have addressed this.
Please don't post the same thread in multiple sub-forums, one is enough