CMake: Add RPI method. Fixes #1695 Qt: Add bitness define. Fixes #6306