From 5bbc5f0d6f6f9352dabde896e97fdb7b497a40a8 Mon Sep 17 00:00:00 2001 From: Maxime Gimeno Date: Fri, 12 Feb 2021 09:18:15 +0100 Subject: [PATCH] Add platforms/qwindows.dll management --- .../developer_scripts/cgal_demo_copy_all_dlls_cygwin.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Scripts/developer_scripts/cgal_demo_copy_all_dlls_cygwin.sh b/Scripts/developer_scripts/cgal_demo_copy_all_dlls_cygwin.sh index 0b1aecf7fad..61de43c3945 100644 --- a/Scripts/developer_scripts/cgal_demo_copy_all_dlls_cygwin.sh +++ b/Scripts/developer_scripts/cgal_demo_copy_all_dlls_cygwin.sh @@ -1,6 +1,7 @@ #!/bin/bash #use this script from inside the build directory of the Polyhedron demo +#Needs the Qt5_DIR env variable set to /lib/cmake/Qt5 declare config="Release" @@ -29,9 +30,10 @@ for file in "${files[@]}"; do # list and copy dependencies cygcheck "$file" | while read -r dll ; do - + copy_dll "$dll" "$target_directory" - + done; #check dependencies - done #loop over directories +mkdir -p "$target_directory/platforms" +cp "$Qt5_DIR/../../../plugins/platforms/qwindows.dll" "$target_directory/platforms"