diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2010-09-07 09:49:34 (GMT) |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2010-09-10 10:44:56 (GMT) |
commit | b2ef75097e608afc717604884c4b6e4b22e78dee (patch) | |
tree | 40f9148eba79cfe7e82c9b771b465e953a3ea2ff /tools/qmeegographicssystemhelper/qmeegoruntime.h | |
parent | 0d9c5bc460c66a96edc9416e5d7e5a56983562a4 (diff) | |
download | Qt-b2ef75097e608afc717604884c4b6e4b22e78dee.zip Qt-b2ef75097e608afc717604884c4b6e4b22e78dee.tar.gz Qt-b2ef75097e608afc717604884c4b6e4b22e78dee.tar.bz2 |
Use QFactoryLoader to ensure we get the correct graphics system plugin.
Also, this prevents hard-coding the path to the meego plugin.
Diffstat (limited to 'tools/qmeegographicssystemhelper/qmeegoruntime.h')
-rw-r--r-- | tools/qmeegographicssystemhelper/qmeegoruntime.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/qmeegographicssystemhelper/qmeegoruntime.h b/tools/qmeegographicssystemhelper/qmeegoruntime.h index 98bf5b0..82fdb52 100644 --- a/tools/qmeegographicssystemhelper/qmeegoruntime.h +++ b/tools/qmeegographicssystemhelper/qmeegoruntime.h @@ -39,7 +39,6 @@ ** ****************************************************************************/ -#include <QLibrary> #include <QPixmap> #include <QImage> @@ -47,7 +46,7 @@ class QMeeGoRuntime { public: static void initialize(); - + static Qt::HANDLE imageToEGLSharedImage(const QImage &image); static QPixmap pixmapFromEGLSharedImage(Qt::HANDLE handle, const QImage &softImage); static QPixmap pixmapWithGLTexture(int w, int h); @@ -59,5 +58,4 @@ public: private: static bool initialized; - static QLibrary *library; }; |