My guess would be to use std::complex as it's standard C++, which you are using to write applications with Qt.