Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Italian
  4. QT creator 4.11.0 segnalazione Issue su progetti esempio QT

QT creator 4.11.0 segnalazione Issue su progetti esempio QT

Scheduled Pinned Locked Moved Solved Italian
8 Posts 2 Posters 1.4k 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.
  • F Offline
    F Offline
    FulvioNewbie
    wrote on last edited by
    #1

    Ciao.
    Domanda a riguardo del pannello Issue di QT creator.
    Ho compilato vari progetti 'example' di QT e in tutti ottengo nel pannello Issue numerosi messaggi di 'errore". Questi messaggi indicano sempre e tutte le linee di dichiarazione e utilizzo di oggetti QT come nella figura che allego:

    La compilazione dei progetti vanno sempre a buon fine ed ottengo l'eseguibile senza nessun warning nel pannello compile.
    Sto usando QT creator 4.11.0 based on Qt 5.12.8 (GCC 9.30.0, 64 bit) su sistema ubuntu 20.04 LTS.
    Sono esempi della suite QT ed immagino corretti.
    Cosa vuol dire ? Devo fare qualche azione sull'ambiente di sviluppo ?

    Hello.
    Question about the QT creator Issue panel.
    I have compiled several QT 'example' projects and in all of them I get numerous 'error' messages in the Issue panel. These messages always indicate and all the lines of declaration and use of QT objects as in the figure that I am attaching:

    The compilation of the projects is always successful and I get the executable without any warning in the compile panel.
    I am using QT creator 4.11.0 based on Qt 5.12.8 (GCC 9.30.0, 64 bit) on ubuntu 20.04 LTS system.
    They are examples of the QT suite and I guess correct.
    What does it mean ? Do I need to take any action on the development environment?

    Ciao && thanks for the help

    issueQT.png

    1 Reply Last reply
    0
    • F Offline
      F Offline
      FulvioNewbie
      wrote on last edited by
      #7

      Il motivo è che le nuove versioni di Qtcreator su Ubuntu 20.04 installano clang-10, ma hanno ancora bisogno di clang-8.

      The reason is that new versions of Qtcreator on Ubuntu 20.04 install clang-10, but it still needing clang-8.

      Install clang-8 package:

      apt install clang-8

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

        Sembra un problema con il code model. puoi guardare in tools->options->kits se ti segnala icone rosse o gialle?

        "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
        0
        • F Offline
          F Offline
          FulvioNewbie
          wrote on last edited by
          #3

          Grazie VRonin
          Ho cercato ma non vedo icone gialle o rosse.
          Il problema ( sono un niubbo dell'argomento ) e che nonostante le include ottengo segnalazioni su codice che non ho scritto e che do per scontato funzionanti

          1 Reply Last reply
          0
          • F Offline
            F Offline
            FulvioNewbie
            wrote on last edited by
            #4

            Il pannello Issue a cosa sarebbe dedicato? Che tipo di segnalazioni dovrebbero apparire ?

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

              Issues fa apparire tutti i problemi (i piu' importanti sono quelli di compilazione). I messaggi che vedi arrivano dal code model (Che e' uno strumento che tenta di segnalare gli errori di compilazione prima di lanciare la vera e propria compilazione).
              Prova ad andare in Tools->options->C++->Code Model e vedere se hai messaggi nella box "Cland code model"

              "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
              0
              • F Offline
                F Offline
                FulvioNewbie
                wrote on last edited by
                #6

                Ecco come è configurato il code model e come configurato il diagnostic configurations
                Queste configurazione sono presenti dall'installazione ?

                code_model.png

                DiagnosticConfigurations.png

                1 Reply Last reply
                0
                • F Offline
                  F Offline
                  FulvioNewbie
                  wrote on last edited by
                  #7

                  Il motivo è che le nuove versioni di Qtcreator su Ubuntu 20.04 installano clang-10, ma hanno ancora bisogno di clang-8.

                  The reason is that new versions of Qtcreator on Ubuntu 20.04 install clang-10, but it still needing clang-8.

                  Install clang-8 package:

                  apt install clang-8

                  1 Reply Last reply
                  1
                  • F Offline
                    F Offline
                    FulvioNewbie
                    wrote on last edited by
                    #8

                    Ho quindi RISOLTO il problema

                    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