SVN commit 7826 by rakuco: Import commit 353bf15 I made upstream. This fixes a CMake warning (which can become an error, but I'm not sure) which is triggered when Qt Designer is not installed, as a variable expansion was done wrong. Reported by: bsam A patch-CMakeLists.txt