Skip to content

yz271544/qgis-printer-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

394 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qgis print server

with qgis application for printer

Motivation

this service can running on headless standalone mode with qgis server in docker container.

Development Environment

  • oatpp
  • oatpp-curl
  • yaml-cpp
  • spdlog

Install dependencies

mkdir ${your project dir}/cpath -p
cd ${your project dir}/cpath
git clone git@ssh.github.com:oatpp/oatpp.git
git clone git@ssh.github.com:oatpp/oatpp-curl.git

cd oatpp
cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug
cmake --build build --target install

cd ../oatpp-curl
cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug
cmake --build build --target install

Release Environment

mkdir ${your project dir}/cpath -p
cd ${your project dir}/cpath
git clone git@ssh.github.com:oatpp/oatpp.git
git clone git@ssh.github.com:oatpp/oatpp-curl.git

cd oatpp
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --target install

cd ../oatpp-curl
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --target install

windows

with vcpkg

clone vcpkg to your computer

git clone https://github.com/microsoft/vcpkg.git

# bootstrap vcpkg
cd vcpkg
.\bootstrap-vcpkg.bat

# put the vcpkg to the path you like

PATH=%PATH%;D:\iProject\cpath\vcpkg

cmake options

-DCMAKE_TOOLCHAIN_FILE=D:\iProject\cpath\vcpkg\scripts\buildsystems\vcpkg.cmake

test use nvidia prime Environment

cd jingweiprinter/cmake-build-debug/src
QT_QPA_PLATFORM=xcb __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia __VK_LAYER_NV_optimus=NVIDIA_only ./jingweiprinter

build arm64

some examples

d3_scene 打印测试-现场位置图
27-现场位置图 27-现场位置图
打印测试-现场位置图 打印测试-现场位置图-a3-3D
jc-现场位置图 jc-现场位置图-a3
jgx1-现场位置图 rgdc-现场位置图-a3
g_0814-现场位置图 g_0814-现场位置图-3d
其他功能测试2 表格导入导出测试-3d

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors