From b29b9022597411facf1dd6561181c03fd3c12673 Mon Sep 17 00:00:00 2001 From: talksik Date: Fri, 18 Aug 2023 16:41:48 -0700 Subject: [PATCH] embedded device special script --- device.sh | 20 ++++++++++++++++++++ run.sh | 2 ++ 2 files changed, 22 insertions(+) create mode 100755 device.sh diff --git a/device.sh b/device.sh new file mode 100755 index 0000000..38ab108 --- /dev/null +++ b/device.sh @@ -0,0 +1,20 @@ +#!/bin/sh +# this is special script for running on jetson nano + +export QT_DEBUG_PLUGINS=1 + +rm -rf build && +mkdir build && +cd build && + +echo "Running cmake with build type Debug." +cmake -Wall -DCMAKE_PREFIX_PATH=~/Qt/ \ + -G "Unix Makefiles" \ + -DCMAKE_BUILD_TYPE=Debug .. && + +make && + +echo "running qml-example" && + +./build/qml-example -platform eglfs + diff --git a/run.sh b/run.sh index 0102df6..cc42c04 100755 --- a/run.sh +++ b/run.sh @@ -1,5 +1,7 @@ #!/bin/sh +export QT_DEBUG_PLUGINS=1 + rm -rf build && mkdir build && cd build &&