Bug report #21368

Fails to build with GUI disabled

Added by Tom Palan 9 months ago. Updated 9 months ago.

Status:Open
Priority:Normal
Assignee:Alessandro Pasotti
Category:Build/Install
Affected QGIS version:3.4.4 Regression?:No
Operating System:Debian Stretch 64 Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:29185

Description

For building the QGIS server without Desktop app the following cmake command works:

cmake -G Ninja \
-DCMAKE_VERBOSE_MAKEFILE=1 \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBINDINGS_GLOBAL_INSTALL=TRUE \
-DPEDANTIC=TRUE \
-DSERVER_SKIP_ECW=TRUE \
-DQGIS_CGIBIN_SUBDIR=/usr/lib/cgi-bin \
-DWITH_APIDOC=TRUE \
-DGENERATE_QHP=TRUE \
-DWITH_CUSTOM_WIDGETS=FALSE \
-DWITH_GLOBE=FALSE \
-DWITH_SERVER=TRUE \
-DWITH_SERVER_PLUGINS=TRUE \
-DWITH_QWTPOLAR=FALSE \
-DWITH_DESKTOP=FALSE \
-DWITH_GUI=TRUE \
-DDOXYGEN_ON_DEMAND=TRUE ..

But when disabling the GUI (WITH_GUI=FALSE), the build fails with error message:
ninja: error:
'../python/plugins/db_manager/db_plugins/postgis/plugins/versioning/pyg
ui', needed by
'python/plugins/db_manager/db_plugins/postgis/plugins/versioning/ui_Dlg
Versioning.py', missing and no known rule to make it

History

#1 Updated by Alessandro Pasotti 9 months ago

  • Assignee set to Alessandro Pasotti

Also available in: Atom PDF