Install the compiler and development packages:
sudo apt-get update
sudo apt-get install --yes --no-install-recommends \
gcc-15 \
g++-15 \
make \
pkg-config \
qmake6 \
qt6-base-dev \
libboost-dev \
libcurl4-openssl-dev \
libgdal-dev \
libjpeg-dev \
default-libmysqlclient-dev \
libpng-dev \
libpq-dev \
libspatialite-dev \
libsqlite3-dev \
libtbb-dev \
unixodbc-dev \
xauth \
xvfbConfigure and build:
cd example/ugis
qmake6 ugis.pro QMAKE_CC=gcc-15 QMAKE_CXX=g++-15
make --jobs=2Run a ten-second smoke test on a virtual display:
status=0
timeout --kill-after=5s 10s xvfb-run --auto-servernum ./ugis || status=$?
test "$status" -eq 124Build and run the autonomous tests (no database servers or network access are required):
cd test
make --file=linux.makefile --jobs=2 CXX=g++-15
make --file=linux.makefile test CXX=g++-15Run the PostgreSQL tests against a local PostGIS-enabled server:
make --file=linux.makefile test-postgres CXX=g++-15 \
TEST_PASSWORD=Password12! TEST_POSTGRES_HOST=localhost