Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QT Creator and QWT AutoComplete?
Qt 6.12 LTS is out! See what's new in the release blog

QT Creator and QWT AutoComplete?

Scheduled Pinned Locked Moved Qt Creator and other tools
3 Posts 2 Posters 4.0k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hi everybody,

    This is the first time I've ever used an external library, so if it sounds like I don't know what I'm talking about then....:) The documentation has been confusing me, but I think I've almost got it.

    I have these lines in my .pro file:

    @
    LIBS += -LC:/lib/qwt60/lib -lqwt
    #LIBS += -lqwt

    INCLUDEPATH +=
    C:/lib/qwt60/include

    QMAKEFEATURES += C:/lib/qwt60/features

    CONFIG += qwt
    @

    If this is not right or foolish, feel free to correct me :), but it does appear to be working. My problem is I would like to have Qwt function calls autocomplete like standard QT and C++ functions do.

    IE: You type this-> and you get a list of items. This happens for everything but the QWT library I've added (A class derived from QwtPlot will show it's members using the -> operator, but it won't show the inherited methods from QwtPlot), and I'm not sure why. Any ideas?

    E

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Qt Creator is outcompleting everything it knows it finds in the header files it parses.

      So is the right header file included? Auto-completion will fail, if you have forward-declared a class only or if the header is just not included.

      Does your application build?

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        Yes, it builds/runs no problem.

        Is there potentially a different component for the "object search path" than there is for header location?

        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
        • Unsolved