diff -r 56cd8111b7f7 -r 41300fa6a67c src/plugins/gfxdrivers/qvfb/main.cpp --- a/src/plugins/gfxdrivers/qvfb/main.cpp Tue Jan 26 12:42:25 2010 +0200 +++ b/src/plugins/gfxdrivers/qvfb/main.cpp Tue Feb 02 00:43:10 2010 +0200 @@ -43,6 +43,7 @@ #include #include +#ifndef QT_NO_LIBRARY QT_BEGIN_NAMESPACE class ScreenVfbDriver : public QScreenDriverPlugin @@ -78,3 +79,4 @@ Q_EXPORT_PLUGIN2(qscreenvfb, ScreenVfbDriver) QT_END_NAMESPACE +#endif //QT_NO_LIBRARY