-
Notifications
You must be signed in to change notification settings - Fork 13
Testing
Use Echobot for testing audio and video. If you start a voice/video call with Echobot, it will echo back all audio & video you send it with a 1-2 second delay. Echobot's ID can be found at Toxme
Web-cam simulation (Linux):
Download, compile & install v4l2loopback (Debian/Ubuntu/Mint: aptitude install v4l2loopback-dkms).
modprobe v4l2loopback max_width=800 max_height=600
ffmpeg -loop 1 -y -i testfile_800x600.png -f v4l2 /dev/video0
Resource: http://wiki.winehq.org/RegressionTesting
I've based steps below on assumption that one did read link above ↑, even though it's not about qTox.
Differences and general tips.
- Provided that you have needed dependencies all that you need to compile qTox is:
$ qmake && make
It ↑ will create qtox
binary in your qTox directory. You may want to use more than 1 core when compiling, e.g. to use 4 threads:
$ qmake && make -j4
- For compiling with
ccache
, you'll need to have it properly installed, sowhich g++
reports forccache
binary or just addQMAKE_CXX="ccache g++"
to yourqmake
command, i.e.:
$ qmake QMAKE_CXX="ccache g++"
- Before issuing
git bisect
good
/bad
, you should clear changed files. It will remove also compiled binary:
$ make clean && git checkout -f
- To prevent damaging your Tox profile / history, you may want to make qTox use temporary profile. Thus create temporary directory where it'll be stored:
$ mkdir -p /tmp/.config/tox && touch /tmp/.config/tox/profile.tox
and then make qTox use it when launching from compiled binary:
$ HOME="/tmp/" ./qtox -p profile
vruh