forked from kmatheussen/radium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild_linux_qt_visual.sh
executable file
·46 lines (31 loc) · 1006 Bytes
/
build_linux_qt_visual.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/usr/bin/env bash
#set -x
set -eEu
source $(dirname "${0}")/bash_setup.sh
export VISUAL="-DUSE_QT_VISUAL=1 -DUSE_GTK_VISUAL=0"
export GTK_CFLAGS=""
export GTK_LDFLAGS=""
printf "${GREEN}Compiling${LIGHT_CYAN} Radium${NC}...\n"
start=`date +%s`
#trap 'handle_failure' ERR
#source owijoiwef.h
echo "AAA"
source build_linux_common.sh $@
echo "BBB"
ret=$?
end=`date +%s`
runtime=$((end-start))
printf " ${LIGHT_CYAN}Radium ${GREEN} compiled.${YELLOW} (${runtime}s)${NC}\n"
if [ -x "$(command -v kdialog)" ]; then
kdialog --title "Radium compiled" --passivepopup "Finished compiling radium" 2 2>/dev/null &
fi
exit $ret
#echo "Building finished."
#echo
#echo "Warning!"
#echo "The Qt version performs significantly worse than the GTK version."
#echo
#echo "This build script should only be used to test the Qt version."
#echo "Packagers should use the build_linux.sh script instead".
#echo
# (doesn't seem to be true anymore after switching from QPixmap to QImage as paint buffer)