Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Compiler Error : use of undefined type ' '
vinothrajendran4 last edited by
I get the following compiler error
C2027: use of undefined type 'QMap <QString,QVariant>' from qvariant.h
Any idea what i have failed to add ?
@vinothrajendran4 Did you include QMap?
You should show the code causing this error.
To add to @jsulm, did you add
Crawl.W last edited by Crawl.W
When I declare a func which ret type is
QVariantList, report error
error: C2027: use of undefined type 'QVariant'.In this case, we need include
#include <QVariant>in the header file.