You can use OpenGL & Qt for that matter. You can write proprietary software if you purchase a Qt license.
In fact, programming with Qt is usually write once, compile for: Windows, OSX, Linux, Android. Most of the time, you will not need to adjust a single line of code for it to work. Given that you keep the other platforms in mind while designing your e.g. UI.