- 论坛徽章:
- 0
|
###################################################
#!/bin/sh#
#myuic program convert .ui to .cpp .h by calling uic#
#
INPUT_UI=$@ #
#read file form output #
#
#
if [! -f "$INPUT_UI"]#
then#
echo "UIC File $INPUT_UI Not Found" #
echo #
echo "Userage myuic input_file.ui" #
echo #
exit 1 #
fi#
#
#
INPUT_H='echo$@|cut -d'.'-fl'.h #
INPUT_CPP='echo$@|cut -d '.'-fl'.cpp #
#
#
uic -o $INPUT_H $INPUT_UI#
uic -i $INPUT_H -o $INPUT_CPP $INPUT_UI#
#
##################################################
~
~
~
~
~
-- INSERT --
在命令行里键入myuic,提示syntax error: unexpected end of file
怎么会是啊,高手请指点!谢啦 |
|