This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Code Completion using Eigen in QT

Tags: None
(comma "," separated)
fedster
Registered Member
Posts
3
Karma
0

Code Completion using Eigen in QT

Wed Dec 04, 2013 7:47 pm
I just started using Eigen 3.2.0 on QTCreator 2.8.1.
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 https://drive.google.com/file/d/0B4fk23AUNDI8anZoeDg0M3F1WGs/edit?usp=sharing 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

Code: Select all
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.

thank you!

f
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS
That's rather a question for qtcreator devs.
fedster
Registered Member
Posts
3
Karma
0
I assume I'll get a similar answer on the QT forums, but worth a try.
Do you know if anyone on the Eigen team uses QT?
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS
I know from the KDevelop world that heavily template-based libraries are very difficult to parse for an IDE for a variety of reasons. You can try if KDevelop does any better in the case of Eigen *hint hint* ;)


I'm working on the KDevelop IDE.
fedster
Registered Member
Posts
3
Karma
0
thank you for your help!


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]