...
 
Commits (2)
......@@ -26,5 +26,4 @@
/src/*.o
/src/stamp-h1
/src/openblox-studio
/src/qrc_*.cpp
/rc/class_icons/.directory
#!/bin/bash
# Do not invoke this directly
SRCDIR=$1
RCC=$2
cd $SRCDIR/../rc
$RCC -o $SRCDIR/qrc_resources.cpp resources.qrc
cd rc
rcc-qt5 -o ../src/qrc_resources.cpp resources.qrc
......@@ -33,6 +33,9 @@
<file>class_icons/StarterGui.png</file>
<file>class_icons/UserInputService.png</file>
<file>class_icons/Workspace.png</file>
<file>studio_icon/icon_group.png</file>
<file>studio_icon/icon_ungroup.png</file>
<file>openblox.png</file>
</qresource>
......
......@@ -22,6 +22,3 @@ openblox_studio_LDADD = $(LOPENBLOX_LIBS) $(LIRRLICHT_LIBS) $(LBULLET_LIBS) $(LQ
# Compiler options. Here we are adding the include directory
# to be searched for headers included in the source code.
openblox_studio_CPPFLAGS = $(LOPENBLOX_CFLAGS) $(LBULLET_CFLAGS) $(LQT_CFLAGS) -fPIC -std=c++11
qrc_resources.cpp:
../buildqrc.sh $(PWD) $(RCC)
......@@ -64,7 +64,7 @@ namespace OB{
return ico;
}
QString icop = ":rc/class_icons/" + className + ".png";
QString icop = ":class_icons/" + className + ".png";
if(QFile(icop).exists()){
ico = QIcon(icop);
......