split resources for faster recompile times
This commit is contained in:
parent
934e6b2592
commit
dafdc38f16
13
img/img_resources.qrc
Normal file
13
img/img_resources.qrc
Normal file
@ -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>
|
7
mdl/mdl_resources.qrc
Normal file
7
mdl/mdl_resources.qrc
Normal file
@ -0,0 +1,7 @@
|
||||
<!DOCTYPE RCC>
|
||||
<RCC version="1.0">
|
||||
<qresource prefix="/mdl">
|
||||
<file>dji600.obj</file>
|
||||
<file>dji600.mtl</file>
|
||||
</qresource>
|
||||
</RCC>
|
@ -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
|
||||
|
@ -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>
|
9
shaders/shaders_resources.qrc
Normal file
9
shaders/shaders_resources.qrc
Normal file
@ -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>
|
Loading…
Reference in New Issue
Block a user