Details
-
Bug
-
Resolution: Out of scope
-
P4: Low
-
None
-
5.0.0 Beta 1
-
None
-
Ubuntu 10.04
qtbase 290655c8a2401b84b9ddd223b67c06182886c597
gcc (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3
Description
Using Q_EXPORT_PLUGIN2 gives the error
"error: invalid application of 'sizeof' to incomplete type 'QStaticAssertFailure<false>'"
When it should be saying something like "error: Using old plugin system". qplugin.h appears to have the right code for this:
# define Q_EXPORT_PLUGIN2(PLUGIN, PLUGINCLASS) \ Q_STATIC_ASSERT_X(false, "Old plugin system used")
but Q_STATIC_ASSERT_X doesn't seem to be working right for me.