Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  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 General and Desktop
3 Posts 2 Posters 1.3k 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 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 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://drive.google.com/file/d/0B4fk23AUNDI8anZoeDg0M3F1WGs/edit?usp=sharing()":https://drive.google.com/file/d/0B4fk23AUNDI8anZoeDg0M3F1WGs/edit?usp=sharing()

    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,

      Can you try Qt Creator 3 to see if handles it better ?

      Otherwise you can try to ask on the qtcreator mailing list

      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
      • P Offline
        P Offline
        pitoz
        wrote on last edited by
        #3

        Tried it on QT 3.0 but same exact behavior - sadly. Will try QTCreator list - thanks for the advice.

        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