trying to fix things running on device

This commit is contained in:
talksik
2023-08-21 13:18:11 -07:00
parent d0a20820e3
commit b2dcf1a9f0
3 changed files with 69 additions and 61 deletions
+8 -1
View File
@@ -2,13 +2,20 @@
# this is special script for running on jetson nano
export QT_DEBUG_PLUGINS=1
export QT_QPA_EGLFS_PHYSICAL_WIDTH=1920
export QT_QPA_EGLFS_PHYSICAL_HEIGHT=1080
export GST_GL_PLATFORM=egl
export GST_GL_WINDOW=dispmanx
export GST_GL_API=gles2
export GST_DEBUG=2
rm -rf build
mkdir build
cd build
echo "Running cmake with build type Debug."
cmake -Wall -DCMAKE_PREFIX_PATH=~/Qt/ \
cmake -Wall -DCMAKE_PREFIX_PATH=/home/pluto/Qt/ \
-G "Unix Makefiles" \
-DCMAKE_BUILD_TYPE=Debug ..