linuxfb: add linuxfb.json and moc main.cpp

This makes the linuxfb plugin load

Change-Id: Idbe888b5795f8ac86f1e3cf197e42c99cca04818
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
This commit is contained in:
Girish Ramakrishnan 2012-07-02 18:19:55 +05:30 committed by Qt by Nokia
parent 58f644dbcf
commit 018cd808fd
3 changed files with 10 additions and 1 deletions

View File

@ -0,0 +1,3 @@
{
"Keys": [ "linuxfb" ]
}

View File

@ -12,3 +12,5 @@ CONFIG += qpa/genericunixfontdatabase
target.path += $$[QT_INSTALL_PLUGINS]/platforms
INSTALLS += target
OTHER_FILES += linuxfb.json

View File

@ -46,7 +46,8 @@ QT_BEGIN_NAMESPACE
class QLinuxFbIntegrationPlugin : public QPlatformIntegrationPlugin
{
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.1")
Q_OBJECT
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.1" FILE "linuxfb.json")
public:
QPlatformIntegration *create(const QString&, const QStringList&);
};
@ -61,3 +62,6 @@ QPlatformIntegration* QLinuxFbIntegrationPlugin::create(const QString& system, c
}
QT_END_NAMESPACE
#include "main.moc"