forked from qt-creator/qt-creator
GLSLEditor: Generate qrc file at build time
Change-Id: I310768cf5b70cf06e6619a333bb350384f57d8ab Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -6,10 +6,15 @@ add_qtc_plugin(GLSLEditor
|
||||
glslautocompleter.cpp glslautocompleter.h
|
||||
glslcompletionassist.cpp glslcompletionassist.h
|
||||
glsleditor.cpp glsleditor.h
|
||||
glsleditor.qrc
|
||||
glsleditorconstants.h
|
||||
glsleditorplugin.cpp
|
||||
glsleditortr.h
|
||||
glslhighlighter.cpp glslhighlighter.h
|
||||
glslindenter.cpp glslindenter.h
|
||||
)
|
||||
|
||||
qtc_add_resources(GLSLEditor "images"
|
||||
PREFIX "/glsleditor"
|
||||
BASE "."
|
||||
FILES images/glslfile.png
|
||||
)
|
||||
|
@@ -19,7 +19,6 @@ QtcPlugin {
|
||||
"glslcompletionassist.h",
|
||||
"glsleditor.cpp",
|
||||
"glsleditor.h",
|
||||
"glsleditor.qrc",
|
||||
"glsleditorconstants.h",
|
||||
"glsleditorplugin.cpp",
|
||||
"glsleditortr.h",
|
||||
@@ -28,4 +27,12 @@ QtcPlugin {
|
||||
"glslindenter.cpp",
|
||||
"glslindenter.h",
|
||||
]
|
||||
|
||||
Group {
|
||||
name: "images"
|
||||
files: [
|
||||
"images/glslfile.png",
|
||||
]
|
||||
fileTags: "qt.core.resource_data"
|
||||
}
|
||||
}
|
||||
|
@@ -1,5 +0,0 @@
|
||||
<RCC>
|
||||
<qresource prefix="/glsleditor">
|
||||
<file>images/glslfile.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
Reference in New Issue
Block a user