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. QtCreator problems about convenience
Qt 6.11 is out! See what's new in the release blog

QtCreator problems about convenience

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
3 Posts 2 Posters 1.2k Views
  • 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.
  • jronaldJ Offline
    jronaldJ Offline
    jronald
    wrote on last edited by jronald
    #1

    Problem 1: Auto completion problem

    (1) alt text

    (2) alt text

    The 2nd is what I want, while it can be made be default by pluggin not loading "ClangCodeModel"

    alt text

    The problem is other function(s) don't work, as far as I encountered, "issues" doesn't funciton:

    0_1547029494352_issues.png

    Problem 2: Semantic hightlight problem

    e.g.

    pch.h // precompile header

    class ClassLib
    {
    };
    

    test.h

    ClassLib a; // Here is the problem, the editor doesn't recognize ClassLib
    

    test.cpp

    #include "pch.h"
    #include "test.h"
    
    aha_1980A 1 Reply Last reply
    0
    • jronaldJ jronald

      Problem 1: Auto completion problem

      (1) alt text

      (2) alt text

      The 2nd is what I want, while it can be made be default by pluggin not loading "ClangCodeModel"

      alt text

      The problem is other function(s) don't work, as far as I encountered, "issues" doesn't funciton:

      0_1547029494352_issues.png

      Problem 2: Semantic hightlight problem

      e.g.

      pch.h // precompile header

      class ClassLib
      {
      };
      

      test.h

      ClassLib a; // Here is the problem, the editor doesn't recognize ClassLib
      

      test.cpp

      #include "pch.h"
      #include "test.h"
      
      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by aha_1980
      #2

      @jronald

      About your first problem: We already discussed that in https://forum.qt.io/topic/98055/qt-creator-auto-completion-problem

      If you disable Clang, there will be no annotations in the issues pane. I recommend you to comment on the bug report I linked. That's all we can do for now.

      For the second problem:

      You need to #include "pch.h" in test.h rather than in test.cpp, otherwise it will not work.

      Regards

      Qt has to stay free or it will die.

      jronaldJ 1 Reply Last reply
      3
      • aha_1980A aha_1980

        @jronald

        About your first problem: We already discussed that in https://forum.qt.io/topic/98055/qt-creator-auto-completion-problem

        If you disable Clang, there will be no annotations in the issues pane. I recommend you to comment on the bug report I linked. That's all we can do for now.

        For the second problem:

        You need to #include "pch.h" in test.h rather than in test.cpp, otherwise it will not work.

        Regards

        jronaldJ Offline
        jronaldJ Offline
        jronald
        wrote on last edited by
        #3

        @aha_1980 said in QtCreator problems about convenience:

        @jronald

        About your first problem: We already discussed that in https://forum.qt.io/topic/98055/qt-creator-auto-completion-problem

        If you disable Clang, there will be no annotations in the issues pane. I recommend you to command on the bug report I linked. That's all we can do for now.

        OK

        For the second problem:

        You need to #include "pch.h" in test.h rather than in test.cpp, otherwise it will not work.

        Fine, it's consistent.

        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