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
|
glslautocompleter.cpp glslautocompleter.h
|
||||||
glslcompletionassist.cpp glslcompletionassist.h
|
glslcompletionassist.cpp glslcompletionassist.h
|
||||||
glsleditor.cpp glsleditor.h
|
glsleditor.cpp glsleditor.h
|
||||||
glsleditor.qrc
|
|
||||||
glsleditorconstants.h
|
glsleditorconstants.h
|
||||||
glsleditorplugin.cpp
|
glsleditorplugin.cpp
|
||||||
glsleditortr.h
|
glsleditortr.h
|
||||||
glslhighlighter.cpp glslhighlighter.h
|
glslhighlighter.cpp glslhighlighter.h
|
||||||
glslindenter.cpp glslindenter.h
|
glslindenter.cpp glslindenter.h
|
||||||
)
|
)
|
||||||
|
|
||||||
|
qtc_add_resources(GLSLEditor "images"
|
||||||
|
PREFIX "/glsleditor"
|
||||||
|
BASE "."
|
||||||
|
FILES images/glslfile.png
|
||||||
|
)
|
||||||
|
@@ -19,7 +19,6 @@ QtcPlugin {
|
|||||||
"glslcompletionassist.h",
|
"glslcompletionassist.h",
|
||||||
"glsleditor.cpp",
|
"glsleditor.cpp",
|
||||||
"glsleditor.h",
|
"glsleditor.h",
|
||||||
"glsleditor.qrc",
|
|
||||||
"glsleditorconstants.h",
|
"glsleditorconstants.h",
|
||||||
"glsleditorplugin.cpp",
|
"glsleditorplugin.cpp",
|
||||||
"glsleditortr.h",
|
"glsleditortr.h",
|
||||||
@@ -28,4 +27,12 @@ QtcPlugin {
|
|||||||
"glslindenter.cpp",
|
"glslindenter.cpp",
|
||||||
"glslindenter.h",
|
"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