anh5kor
9th October 2014, 11:49
Hello All,
I have downloaded a QT code from http://www.qt-apps.org/content/show.php/QLed+?content=72482
But when running the code i am getting error
C:\Qt\Qt5.2.0\5.2.0\mingw48_32\include\QtCore\qglo bal.h:666: error: invalid application of 'sizeof' to incomplete type 'QStaticAssertFailure<false>'
enum {Q_STATIC_ASSERT_PRIVATE_JOIN(q_static_assert_resu lt, __COUNTER__) = sizeof(QStaticAssertFailure<!!(Condition)>)}
C:\Qt\Qt5.2.0\5.2.0\mingw48_32\include\QtCore\qglo bal.h:671: in expansion of macro 'Q_STATIC_ASSERT'
#define Q_STATIC_ASSERT_X(Condition, Message) Q_STATIC_ASSERT(Condition)
C:\Qt\Qt5.2.0\5.2.0\mingw48_32\include\QtCore\qplu gin.h:144: in expansion of macro 'Q_STATIC_ASSERT_X'
Q_STATIC_ASSERT_X(false, "Old plugin system used")
C:\Users\anh5kor\Downloads\New folder\72482-QLed-0.6.2\qledplugin.cpp:113: in expansion of macro 'Q_EXPORT_PLUGIN2'
Q_EXPORT_PLUGIN2(customwidgetplugin, QLedPlugin)
I don't know what the error stand for.Can any one let me why i am getting the error
Currently i am using QT5.2.0.
I have downloaded a QT code from http://www.qt-apps.org/content/show.php/QLed+?content=72482
But when running the code i am getting error
C:\Qt\Qt5.2.0\5.2.0\mingw48_32\include\QtCore\qglo bal.h:666: error: invalid application of 'sizeof' to incomplete type 'QStaticAssertFailure<false>'
enum {Q_STATIC_ASSERT_PRIVATE_JOIN(q_static_assert_resu lt, __COUNTER__) = sizeof(QStaticAssertFailure<!!(Condition)>)}
C:\Qt\Qt5.2.0\5.2.0\mingw48_32\include\QtCore\qglo bal.h:671: in expansion of macro 'Q_STATIC_ASSERT'
#define Q_STATIC_ASSERT_X(Condition, Message) Q_STATIC_ASSERT(Condition)
C:\Qt\Qt5.2.0\5.2.0\mingw48_32\include\QtCore\qplu gin.h:144: in expansion of macro 'Q_STATIC_ASSERT_X'
Q_STATIC_ASSERT_X(false, "Old plugin system used")
C:\Users\anh5kor\Downloads\New folder\72482-QLed-0.6.2\qledplugin.cpp:113: in expansion of macro 'Q_EXPORT_PLUGIN2'
Q_EXPORT_PLUGIN2(customwidgetplugin, QLedPlugin)
I don't know what the error stand for.Can any one let me why i am getting the error
Currently i am using QT5.2.0.