Build the photosurface demo without Qt PDF


The photosurface demo is only built when Qt PDF is available, because
its intro slides are the pages of a PDF file, shown through Qt PDF's
image format plugin. The demo doesn't link to Qt PDF, though, so it
builds without it. When the plugin is missing, the intro image fails to
load and the demo goes straight to the photo surface.

This change ensures the demo is built whenever Qt Quick and qsb are
available, so CI keeps compiling it on configurations also without
Qt PDF.

Task-number: QTBUG-151373
Change-Id: Ic80657b4143b9d74b6e269baea6fbb9d051f1f73
Reviewed-by: Topi Reinio <topi.reinio@qt.io>
commit0b2f26ba9795e846c45a680949873bd0abd426b9
parentbfbb3e73bd1c6a2f4f8264340fbff377f5927366
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeTue, 13 Oct 2026 13:15:11 +0000