Compiling OpenBoard from Source - for windowed mode.

These were the commands used. 
This is from this destination - https://webdiis.unizar.es/~spd/openboard/compiling-linux-ubuntu.txt https://webdiis.unizar.es/~spd/openboard/ 

#### Compiling OpenBoard-in-a-Window on Ubuntu 18.04

wget http://webdiis.unizar.es/~spd/openboard/OpenBoard-1.5.4.tar.gz
wget http://webdiis.unizar.es/~spd/openboard/OpenBoard-ThirdParty-master.zip
wget http://webdiis.unizar.es/~spd/openboard/ob-in-a-window.patch

mkdir ob
cd ob
tar xvzf ../OpenBoard-1.5.4.tar.gz
unzip ../OpenBoard-ThirdParty-master.zip
mv OpenBoard-ThirdParty-master OpenBoard-ThirdParty

cd OpenBoard-ThirdParty


sudo apt-get install qt5-default
sudo apt-get install qttools5-dev
sudo apt-get install qtmultimedia5-dev
sudo apt-get install qtscript5-dev
sudo apt-get install libqt5webkit5-dev
sudo apt-get install libqt5svg5-dev
sudo apt-get install libqt5xmlpatterns5-dev
sudo apt-get install libfreetype6-dev
sudo apt-get install libssl-dev
sudo apt-get install libavcodec-dev 
sudo apt-get install libavformat-dev 
sudo apt-get install libswscale-dev
sudo apt-get install libquazip-dev
sudo apt-get install libpaper-dev
sudo apt-get install libva-dev
sudo apt-get install libxcb-shm0-dev
sudo apt-get install libasound2-dev 
sudo apt-get install libx264-dev
sudo apt-get install libvpx-dev
sudo apt-get install libvorbis-dev
sudo apt-get install libtheora-dev
sudo apt-get install libopus-dev
sudo apt-get install libmp3lame-dev
sudo apt-get install libbz2-dev 
sudo apt-get install liblzma-dev
sudo apt-get install libass-dev
sudo apt-get install libfdk-aac-dev
sudo apt-get install libsdl-console-dev


qmake libs.pri
cd xpdf
qmake xpdf.pro
cd xpdf-3.04
./configure --with-freetype2-includes=/usr/include/freetype2
cd ..
make

cd ../..

patch -p0 < ../ob-in-a-window.patch
cd OpenBoard-1.5.4

env OB_INAWINDOW=yes qmake OpenBoard.pro -spec linux-g++-64
make


#### Resulting executable will be
#### build/linux/release/product/OpenBoard

 Also, I wanted to change the cursor which was cross-hair initially to an arrow. 
This can be changed as shown. https://github.com/OpenBoard-org/OpenBoard/issues/91 Hi, There's no setting for this, no. However, if you want to build OpenBoard from the source, you can easily modify the code that specifies which cursors are used. It is in src/gui/UBResources.cpp, and the possible cursor shapes are listed in the Qt documentation here.

Comments