On Thursday, 29 December 2022 11:31:15 -03 Nuno Santos wrote: > [ 66%] Building CXX object > CMakeFiles/appqt6-test.dir/appqt6-test_qmltyperegistrations.cpp.o > /home/nsantos/workspace/build-qt6-test-Desktop-Debug/appqt6-test_qmltypereg > istrations.cpp:17:23: error: variable has incomplete type 'void' > Q_QMLTYPE_EXPORT void qml_register_types_qt6-test()
Most likely, your target name has a dash (qt6-test). Use an identifier-like target name. This can be fixed in the Qt scripts of course, but it won't benefit you now. -- Thiago Macieira - thiago.macieira (AT) intel.com Cloud Software Architect - Intel DCAI Cloud Engineering _______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest