eglfs: don't build the cursor atlas when QT_NO_CURSOR is defined

Change-Id: I675bc127296c016a40ec2edfdb6602908fec4c2f
Reviewed-by: Jørgen Lind <jorgen.lind@theqtcompany.com>
Reviewed-by: Louai Al-Khanji <louai.al-khanji@theqtcompany.com>
bb10
Andrew Knight 2015-03-12 14:30:37 +02:00 committed by Andrew Knight
parent 37f326297d
commit af90eec11c
2 changed files with 3 additions and 1 deletions

View File

@ -56,4 +56,4 @@ INCLUDEPATH += $$PWD
CONFIG += egl qpa/genericunixfontdatabase
RESOURCES += $$PWD/cursor.qrc
!contains(DEFINES, QT_NO_CURSOR): RESOURCES += $$PWD/cursor.qrc

View File

@ -56,7 +56,9 @@
static void initResources()
{
#ifndef QT_NO_CURSOR
Q_INIT_RESOURCE(cursor);
#endif
}
QT_BEGIN_NAMESPACE