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. New Qt messages.

New Qt messages.

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
5 Posts 4 Posters 829 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.
  • ivanicyI Offline
    ivanicyI Offline
    ivanicy
    wrote on last edited by
    #1

    Hello!!

    I downloaded the lastest version of Qt. When I am coding, it appears warnings in red and yellow at right. I think this is slowing down the program and now, Qt spend a lot of time to recognise the autocomplete tool.

    0_1544023759353_4c71a02b-54fe-4be1-b046-8196338b7ee9-image.png

    Does anyone know how to disable that or improve the performance?

    Thank you very much!!

    jsulmJ J.HilkJ 2 Replies Last reply
    0
    • ivanicyI ivanicy

      Hello!!

      I downloaded the lastest version of Qt. When I am coding, it appears warnings in red and yellow at right. I think this is slowing down the program and now, Qt spend a lot of time to recognise the autocomplete tool.

      0_1544023759353_4c71a02b-54fe-4be1-b046-8196338b7ee9-image.png

      Does anyone know how to disable that or improve the performance?

      Thank you very much!!

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by jsulm
      #2

      @ivanicy

      1. Use nullptr instead of 0 for pointers
      2. For the error: please show the code, not just error message (it looks like you're passing a non-QWidget as parameter where QWidget is expected)

      Actually it is better to copy paste warnings/errors instead of posting screen-shots...

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      ivanicyI 1 Reply Last reply
      4
      • jsulmJ jsulm

        @ivanicy

        1. Use nullptr instead of 0 for pointers
        2. For the error: please show the code, not just error message (it looks like you're passing a non-QWidget as parameter where QWidget is expected)

        Actually it is better to copy paste warnings/errors instead of posting screen-shots...

        ivanicyI Offline
        ivanicyI Offline
        ivanicy
        wrote on last edited by
        #3

        @jsulm Sorry, I'm not trying to fix the warnings, I am trying to hide this kind of comments.

        1 Reply Last reply
        0
        • VRoninV Offline
          VRoninV Offline
          VRonin
          wrote on last edited by
          #4

          If you want to make it lighter go to tools->options->C++->code model and under "Clang code model" select a lighter option like "check for questionable constructs"
          To disable it completely go to help->about plugin, untick clang code model and restart Qt creator.

          "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
          ~Napoleon Bonaparte

          On a crusade to banish setIndexWidget() from the holy land of Qt

          1 Reply Last reply
          4
          • ivanicyI ivanicy

            Hello!!

            I downloaded the lastest version of Qt. When I am coding, it appears warnings in red and yellow at right. I think this is slowing down the program and now, Qt spend a lot of time to recognise the autocomplete tool.

            0_1544023759353_4c71a02b-54fe-4be1-b046-8196338b7ee9-image.png

            Does anyone know how to disable that or improve the performance?

            Thank you very much!!

            J.HilkJ Offline
            J.HilkJ Offline
            J.Hilk
            Moderators
            wrote on last edited by J.Hilk
            #5

            @ivanicy
            The auto completer becomes slow-with the new code model- only if you have a couple thousand lines of code in a single class.

            If thats the case, you should consider refactoring and splitting your code up.


            Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


            Q: What's that?
            A: It's blue light.
            Q: What does it do?
            A: It turns blue.

            1 Reply Last reply
            2

            • Login

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