summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/eglfs/qeglfsintegration.cpp
diff options
context:
space:
mode:
authorAndrew Knight <andrew.knight@intopalo.com>2015-03-12 14:30:37 +0200
committerAndrew Knight <qt@panimo.net>2015-03-12 14:47:48 +0000
commitaf90eec11c01043c23726b6af623d74a1ee0666c (patch)
treee29d47b7d625f3e2e924da20062990c2f8ebcc30 /src/plugins/platforms/eglfs/qeglfsintegration.cpp
parent37f326297d45564298a2c8cb1958a81b858de57c (diff)
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>
Diffstat (limited to 'src/plugins/platforms/eglfs/qeglfsintegration.cpp')
-rw-r--r--src/plugins/platforms/eglfs/qeglfsintegration.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/eglfs/qeglfsintegration.cpp b/src/plugins/platforms/eglfs/qeglfsintegration.cpp
index 2da47db602..d1688df8f5 100644
--- a/src/plugins/platforms/eglfs/qeglfsintegration.cpp
+++ b/src/plugins/platforms/eglfs/qeglfsintegration.cpp
@@ -56,7 +56,9 @@
static void initResources()
{
+#ifndef QT_NO_CURSOR
Q_INIT_RESOURCE(cursor);
+#endif
}
QT_BEGIN_NAMESPACE