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. QObject::connect: Cannot queue arguments of type
Forum Updated to NodeBB v4.3 + New Features

QObject::connect: Cannot queue arguments of type

Scheduled Pinned Locked Moved Solved General and Desktop
27 Posts 8 Posters 5.9k Views 4 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.
  • J JKSH
    28 Nov 2023, 01:33

    @micha_eleric said in QObject::connect: Cannot queue arguments of type:

    once i did find preference->kit->kit, nothing was listed under auto-detected nor manual

    That sounds very strange.

    What do you see when you try Step #2 in the instructions?

    M Offline
    M Offline
    micha_eleric
    wrote on 28 Nov 2023, 02:04 last edited by
    #18

    @JKSH said in QObject::connect: Cannot queue arguments of type:

    @micha_eleric said in QObject::connect: Cannot queue arguments of type:

    once i did find preference->kit->kit, nothing was listed under auto-detected nor manual

    That sounds very strange.

    What do you see when you try Step #2 in the instructions?

    lol, second step also gave no version, but can find editor version elsewhere
    Qt Creator 6.0.2
    Based on Qt 5.15.3 (GCC 11.2.0, 64 bit)

    P C 2 Replies Last reply 28 Nov 2023, 02:38
    0
    • M micha_eleric
      28 Nov 2023, 02:04

      @JKSH said in QObject::connect: Cannot queue arguments of type:

      @micha_eleric said in QObject::connect: Cannot queue arguments of type:

      once i did find preference->kit->kit, nothing was listed under auto-detected nor manual

      That sounds very strange.

      What do you see when you try Step #2 in the instructions?

      lol, second step also gave no version, but can find editor version elsewhere
      Qt Creator 6.0.2
      Based on Qt 5.15.3 (GCC 11.2.0, 64 bit)

      P Offline
      P Offline
      Pl45m4
      wrote on 28 Nov 2023, 02:38 last edited by Pl45m4
      #19

      @micha_eleric said in QObject::connect: Cannot queue arguments of type:

      Qt Creator 6.0.2
      Based on Qt 5.15.3 (GCC 11.2.0, 64 bit)

      This is meaningless. It's the Qt version which was used to build your QtCreator version.

      How are your build folders named? In some case they are named by default like:
      build_<Projectname>_<QtX_X_X>_<Compiler>_<Architecture>

      There you also can find out what Qt version you are using


      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

      ~E. W. Dijkstra

      M 1 Reply Last reply 28 Nov 2023, 02:51
      0
      • P Pl45m4
        28 Nov 2023, 02:38

        @micha_eleric said in QObject::connect: Cannot queue arguments of type:

        Qt Creator 6.0.2
        Based on Qt 5.15.3 (GCC 11.2.0, 64 bit)

        This is meaningless. It's the Qt version which was used to build your QtCreator version.

        How are your build folders named? In some case they are named by default like:
        build_<Projectname>_<QtX_X_X>_<Compiler>_<Architecture>

        There you also can find out what Qt version you are using

        M Offline
        M Offline
        micha_eleric
        wrote on 28 Nov 2023, 02:51 last edited by
        #20

        @Pl45m4 said in QObject::connect: Cannot queue arguments of type:

        @micha_eleric said in QObject::connect: Cannot queue arguments of type:

        Qt Creator 6.0.2
        Based on Qt 5.15.3 (GCC 11.2.0, 64 bit)

        This is meaningless. It's the Qt version which was used to build your QtCreator version.

        How are your build folders named? In some case they are named by default like:
        build_<Projectname>_<QtX_X_X>_<Compiler>_<Architecture>

        There you also can find out what Qt version you are using

        again nothing of use, "build-GraphicsView-Desktop-Debug"

        M J 2 Replies Last reply 28 Nov 2023, 03:03
        0
        • M micha_eleric
          28 Nov 2023, 02:51

          @Pl45m4 said in QObject::connect: Cannot queue arguments of type:

          @micha_eleric said in QObject::connect: Cannot queue arguments of type:

          Qt Creator 6.0.2
          Based on Qt 5.15.3 (GCC 11.2.0, 64 bit)

          This is meaningless. It's the Qt version which was used to build your QtCreator version.

          How are your build folders named? In some case they are named by default like:
          build_<Projectname>_<QtX_X_X>_<Compiler>_<Architecture>

          There you also can find out what Qt version you are using

          again nothing of use, "build-GraphicsView-Desktop-Debug"

          M Offline
          M Offline
          micha_eleric
          wrote on 28 Nov 2023, 03:03 last edited by
          #21

          @micha_eleric well, after pecking around, i found:
          Qt 4.8.7 in PATH (qt4) /usr/lib/x86_64-linux-gnu/qt4/bin/qmake
          Qt 5.15.3 in PATH (qt5) /usr/lib/qt5/bin/qmake
          Qt 5.15.3 in PATH (System) /usr/bin/qmake

          1 Reply Last reply
          0
          • M Offline
            M Offline
            micha_eleric
            wrote on 28 Nov 2023, 03:08 last edited by
            #22

            i found another post that said to add

            Q_DECLARE_METATYPE(QList<qfloat16>)
            

            but still gave same error while running.

            1 Reply Last reply
            0
            • M micha_eleric
              28 Nov 2023, 02:04

              @JKSH said in QObject::connect: Cannot queue arguments of type:

              @micha_eleric said in QObject::connect: Cannot queue arguments of type:

              once i did find preference->kit->kit, nothing was listed under auto-detected nor manual

              That sounds very strange.

              What do you see when you try Step #2 in the instructions?

              lol, second step also gave no version, but can find editor version elsewhere
              Qt Creator 6.0.2
              Based on Qt 5.15.3 (GCC 11.2.0, 64 bit)

              C Offline
              C Offline
              ChrisW67
              wrote on 28 Nov 2023, 03:15 last edited by
              #23

              @micha_eleric If you are on Ubuntu 22.04 (a guess on my part), have not installed a Qt version separately from that installed by Ubuntu, and everything is up-to-date then you are using Qt 5.15.3.

              Open a terminal and type qmake -v

              M 1 Reply Last reply 28 Nov 2023, 03:21
              1
              • C ChrisW67
                28 Nov 2023, 03:15

                @micha_eleric If you are on Ubuntu 22.04 (a guess on my part), have not installed a Qt version separately from that installed by Ubuntu, and everything is up-to-date then you are using Qt 5.15.3.

                Open a terminal and type qmake -v

                M Offline
                M Offline
                micha_eleric
                wrote on 28 Nov 2023, 03:21 last edited by
                #24

                @ChrisW67 said in QObject::connect: Cannot queue arguments of type:

                @micha_eleric If you are on Ubuntu 22.04 (a guess on my part), have not installed a Qt version separately from that installed by Ubuntu, and everything is up-to-date then you are using Qt 5.15.3.

                Open a terminal and type qmake -v

                QMake version 3.1
                Using Qt version 5.15.3 in /usr/lib/x86_64-linux-gnu

                H 1 Reply Last reply 28 Nov 2023, 05:52
                0
                • M Offline
                  M Offline
                  micha_eleric
                  wrote on 28 Nov 2023, 03:25 last edited by
                  #25

                  in .h file, but only in one .h file

                  Q_DECLARE_METATYPE(QList<qfloat16>)
                  
                  
                  //data
                  int id;
                  

                  in .cpp file, constructor

                  id = qRegisterMetaType< QList<qfloat16> >();
                  
                  1 Reply Last reply
                  0
                  • M micha_eleric has marked this topic as solved on 28 Nov 2023, 03:25
                  • M micha_eleric
                    28 Nov 2023, 02:51

                    @Pl45m4 said in QObject::connect: Cannot queue arguments of type:

                    @micha_eleric said in QObject::connect: Cannot queue arguments of type:

                    Qt Creator 6.0.2
                    Based on Qt 5.15.3 (GCC 11.2.0, 64 bit)

                    This is meaningless. It's the Qt version which was used to build your QtCreator version.

                    How are your build folders named? In some case they are named by default like:
                    build_<Projectname>_<QtX_X_X>_<Compiler>_<Architecture>

                    There you also can find out what Qt version you are using

                    again nothing of use, "build-GraphicsView-Desktop-Debug"

                    J Offline
                    J Offline
                    JKSH
                    Moderators
                    wrote on 28 Nov 2023, 05:28 last edited by
                    #26
                    This post is deleted!
                    1 Reply Last reply
                    0
                    • M micha_eleric
                      28 Nov 2023, 03:21

                      @ChrisW67 said in QObject::connect: Cannot queue arguments of type:

                      @micha_eleric If you are on Ubuntu 22.04 (a guess on my part), have not installed a Qt version separately from that installed by Ubuntu, and everything is up-to-date then you are using Qt 5.15.3.

                      Open a terminal and type qmake -v

                      QMake version 3.1
                      Using Qt version 5.15.3 in /usr/lib/x86_64-linux-gnu

                      H Offline
                      H Offline
                      HaoTian
                      wrote on 28 Nov 2023, 05:52 last edited by
                      #27

                      @micha_eleric Impossible! My demo runs fine and I'm using Qt version 5.6

                      1 Reply Last reply
                      0

                      27/27

                      28 Nov 2023, 05:52

                      • Login

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