QObject::connect: Cannot queue arguments of type
-
@Abderrahmene_Rayene said in QObject::connect: Cannot queue arguments of type:
@micha_eleric said in QObject::connect: Cannot queue arguments of type:
how to find out
instructions do not work for my version of QT Create, and once i did find preference->kit->kit, nothing was listed under auto-detected nor manual
-
@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?
-
@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) -
@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
-
@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"
-
@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 -
i found another post that said to add
Q_DECLARE_METATYPE(QList<qfloat16>)
but still gave same error while running.
-
@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
-
@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 -
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> >();
-
-
This post is deleted!
-
@micha_eleric Impossible! My demo runs fine and I'm using Qt version 5.6