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. Qt Creator code completion and std::tuple
Forum Updated to NodeBB v4.3 + New Features

Qt Creator code completion and std::tuple

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.3k Views 2 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.
  • F Offline
    F Offline
    freddy311082
    wrote on 27 Jul 2015, 04:03 last edited by
    #1

    Hi guys, I have a litter question:

    Why Qt Creator's code completion doesn't work with some classes from the std library?

    one example is the std::tuple class (I think that we'll be grate if Qt give us a QTuple class)... I need to use the std::tuple and the code completion doesn't recognise this class.. neither std::make_tuple() function... so, Is it a bug or I must do something ??

    About std::tuple... Have Qt something similar to std::tuple ??

    regards

    J 1 Reply Last reply 27 Jul 2015, 04:38
    0
    • F freddy311082
      27 Jul 2015, 04:03

      Hi guys, I have a litter question:

      Why Qt Creator's code completion doesn't work with some classes from the std library?

      one example is the std::tuple class (I think that we'll be grate if Qt give us a QTuple class)... I need to use the std::tuple and the code completion doesn't recognise this class.. neither std::make_tuple() function... so, Is it a bug or I must do something ??

      About std::tuple... Have Qt something similar to std::tuple ??

      regards

      J Offline
      J Offline
      JKSH
      Moderators
      wrote on 27 Jul 2015, 04:38 last edited by
      #2

      Hi @freddy311082 ,

      Try using the Clang code model. See the last post at https://forum.qt.io/topic/53133/qt-creator-syntax-checking-c-14/4

      (Note: this code model is not fully polished yet, and is slower than the current Qt Creator code model)

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      0
      • F Offline
        F Offline
        freddy311082
        wrote on 27 Jul 2015, 12:52 last edited by
        #3

        Hi and thank for answer.. yea, this is the problem... clang code model work very low

        Regards

        1 Reply Last reply
        0

        1/3

        27 Jul 2015, 04:03

        • Login

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