aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--img/img_resources.qrc13
-rw-r--r--mdl/mdl_resources.qrc7
-rw-r--r--projet.pro4
-rw-r--r--resources.qrc21
-rw-r--r--shaders/shaders_resources.qrc9
5 files changed, 32 insertions, 22 deletions
diff --git a/img/img_resources.qrc b/img/img_resources.qrc
new file mode 100644
index 0000000..1ebd85f
--- /dev/null
+++ b/img/img_resources.qrc
@@ -0,0 +1,13 @@
+<!DOCTYPE RCC>
+<RCC version="1.0">
+ <qresource prefix="/img">
+ <file>dji600.jpg</file>
+ <file>ground.jpg</file>
+ <file>clouds1_up.jpg</file>
+ <file>clouds1_down.jpg</file>
+ <file>clouds1_north.jpg</file>
+ <file>clouds1_east.jpg</file>
+ <file>clouds1_south.jpg</file>
+ <file>clouds1_west.jpg</file>
+ </qresource>
+</RCC>
diff --git a/mdl/mdl_resources.qrc b/mdl/mdl_resources.qrc
new file mode 100644
index 0000000..88aba98
--- /dev/null
+++ b/mdl/mdl_resources.qrc
@@ -0,0 +1,7 @@
+<!DOCTYPE RCC>
+<RCC version="1.0">
+ <qresource prefix="/mdl">
+ <file>dji600.obj</file>
+ <file>dji600.mtl</file>
+ </qresource>
+</RCC>
diff --git a/projet.pro b/projet.pro
index 0ff7abb..d018b86 100644
--- a/projet.pro
+++ b/projet.pro
@@ -4,7 +4,9 @@ TEMPLATE = app
DEFINES += QT_DEPRECATED_WARNINGS
CONFIG += qt debug
-RESOURCES += resources.qrc
+RESOURCES += mdl/mdl_resources.qrc
+RESOURCES += img/img_resources.qrc
+RESOURCES += shaders/shaders_resources.qrc
SOURCES += src/main.cc
SOURCES += src/main_window.cc
diff --git a/resources.qrc b/resources.qrc
deleted file mode 100644
index 0e5ff85..0000000
--- a/resources.qrc
+++ /dev/null
@@ -1,21 +0,0 @@
-<!DOCTYPE RCC>
-<RCC version="1.0">
- <qresource>
- <file>mdl/dji600.obj</file>
- <file>mdl/dji600.mtl</file>
-
- <file>img/dji600.jpg</file>
- <file>img/ground.jpg</file>
- <file>img/clouds1_up.jpg</file>
- <file>img/clouds1_down.jpg</file>
- <file>img/clouds1_north.jpg</file>
- <file>img/clouds1_east.jpg</file>
- <file>img/clouds1_south.jpg</file>
- <file>img/clouds1_west.jpg</file>
-
- <file>shaders/main.vert</file>
- <file>shaders/main.frag</file>
- <file>shaders/skybox.vert</file>
- <file>shaders/skybox.frag</file>
- </qresource>
-</RCC>
diff --git a/shaders/shaders_resources.qrc b/shaders/shaders_resources.qrc
new file mode 100644
index 0000000..1dc5251
--- /dev/null
+++ b/shaders/shaders_resources.qrc
@@ -0,0 +1,9 @@
+<!DOCTYPE RCC>
+<RCC version="1.0">
+ <qresource prefix="/shaders">
+ <file>main.vert</file>
+ <file>main.frag</file>
+ <file>skybox.vert</file>
+ <file>skybox.frag</file>
+ </qresource>
+</RCC>