Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Code completion for Eigen library doesn’t seem to fully work
Forum Updated to NodeBB v4.3 + New Features

Code completion for Eigen library doesn’t seem to fully work

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 2 Posters 1.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    pitoz
    wrote on last edited by
    #1

    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).

    https://docs.google.com/file/d/0B4fk23AUNDI8anZoeDg0M3F1WGs/edit

    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.
    thank you!

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Please don't post the same thread in multiple sub-forums, one is enough

      "duplicate":http://qt-project.org/forums/viewthread/35681/

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved