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. Signature not normalized.
Forum Updated to NodeBB v4.3 + New Features

Signature not normalized.

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 3 Posters 353 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.
  • C Offline
    C Offline
    Chrisw01
    wrote on last edited by
    #1

    Hello all,

    I have a warning that is driving me crazy.

    It is; Signature is not normalized. Use selectionChanged(QItemSelection, QItemSelection) instead of selectionChanged(QItemSelection, QItemSelection) [clazy-connect-not-normalized]

    It appears to be telling me to use what I am using.

    The code is;

        connect(ui->csrSupportUserTable->selectionModel(), SIGNAL(selectionChanged(QItemSelection, QItemSelection)), this, SLOT(lineSelected()));
    

    I am using Qt 6.4.2 , QtCreator 12.0.2 Community on Windows 10. Any help would be greatly apprciated.

    M C 2 Replies Last reply
    0
    • C Chrisw01

      Hello all,

      I have a warning that is driving me crazy.

      It is; Signature is not normalized. Use selectionChanged(QItemSelection, QItemSelection) instead of selectionChanged(QItemSelection, QItemSelection) [clazy-connect-not-normalized]

      It appears to be telling me to use what I am using.

      The code is;

          connect(ui->csrSupportUserTable->selectionModel(), SIGNAL(selectionChanged(QItemSelection, QItemSelection)), this, SLOT(lineSelected()));
      

      I am using Qt 6.4.2 , QtCreator 12.0.2 Community on Windows 10. Any help would be greatly apprciated.

      M Offline
      M Offline
      mpergand
      wrote on last edited by
      #2

      Hi @Chrisw01

      You should use the New Signal & Slot Syntax

      1 Reply Last reply
      3
      • C Chrisw01

        Hello all,

        I have a warning that is driving me crazy.

        It is; Signature is not normalized. Use selectionChanged(QItemSelection, QItemSelection) instead of selectionChanged(QItemSelection, QItemSelection) [clazy-connect-not-normalized]

        It appears to be telling me to use what I am using.

        The code is;

            connect(ui->csrSupportUserTable->selectionModel(), SIGNAL(selectionChanged(QItemSelection, QItemSelection)), this, SLOT(lineSelected()));
        

        I am using Qt 6.4.2 , QtCreator 12.0.2 Community on Windows 10. Any help would be greatly apprciated.

        C Offline
        C Offline
        ChrisW67
        wrote on last edited by
        #3

        It's likely complaining about the space inside SIGNAL(), in which case the exact warning text is important.

        As @mpergand suggests, you should be using the modern signal/slot syntax unless you are maintaining Qt4 code.

        1 Reply Last reply
        1
        • C Offline
          C Offline
          Chrisw01
          wrote on last edited by
          #4

          Thanks everyone for your input; Strange thing is I use that same method in all of my code and that line is the only one that complains. I will go through and update all my code.... Thanks again!!

          1 Reply Last reply
          0
          • C Chrisw01 has marked this topic as solved on

          • Login

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