summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/image/qicoimageformat/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/gui/image/qicoimageformat/CMakeLists.txt')
-rw-r--r--tests/auto/gui/image/qicoimageformat/CMakeLists.txt49
1 files changed, 25 insertions, 24 deletions
diff --git a/tests/auto/gui/image/qicoimageformat/CMakeLists.txt b/tests/auto/gui/image/qicoimageformat/CMakeLists.txt
index 3746668273..0c8393631a 100644
--- a/tests/auto/gui/image/qicoimageformat/CMakeLists.txt
+++ b/tests/auto/gui/image/qicoimageformat/CMakeLists.txt
@@ -21,28 +21,29 @@ add_qt_test(tst_qicoimageformat
## Scopes:
#####################################################################
-# Resources:
-set(qicoimageformat_resource_files
- "icons/invalid/35floppy.ico"
- "icons/valid/35FLOPPY.ICO"
- "icons/valid/AddPerfMon.ico"
- "icons/valid/App.ico"
- "icons/valid/Obj_N2_Internal_Mem.ico"
- "icons/valid/Qt.ico"
- "icons/valid/Status_Play.ico"
- "icons/valid/TIMER01.ICO"
- "icons/valid/WORLD.ico"
- "icons/valid/WORLDH.ico"
- "icons/valid/abcardWindow.ico"
- "icons/valid/semitransparent.ico"
- "icons/valid/trolltechlogo_tiny.ico"
- "icons/valid/yellow.cur"
-)
-
-add_qt_resource(tst_qicoimageformat "qicoimageformat"
- PREFIX
- "/"
- FILES
- ${qicoimageformat_resource_files}
-)
+if(ANDROID)
+ # Resources:
+ set(qicoimageformat_resource_files
+ "icons/invalid/35floppy.ico"
+ "icons/valid/35FLOPPY.ICO"
+ "icons/valid/AddPerfMon.ico"
+ "icons/valid/App.ico"
+ "icons/valid/Obj_N2_Internal_Mem.ico"
+ "icons/valid/Qt.ico"
+ "icons/valid/Status_Play.ico"
+ "icons/valid/TIMER01.ICO"
+ "icons/valid/WORLD.ico"
+ "icons/valid/WORLDH.ico"
+ "icons/valid/abcardWindow.ico"
+ "icons/valid/semitransparent.ico"
+ "icons/valid/trolltechlogo_tiny.ico"
+ "icons/valid/yellow.cur"
+ )
+ add_qt_resource(tst_qicoimageformat "qicoimageformat"
+ PREFIX
+ "/"
+ FILES
+ ${qicoimageformat_resource_files}
+ )
+endif()