petersimonsson / libqatemcontrol

libqatemcontrol implements the protocol used to connect to BlackMagic ATEM switches.
GNU Lesser General Public License v2.1
79 stars 28 forks source link

Raspberry PI and Commandline #11

Closed macoss closed 9 years ago

macoss commented 9 years ago

Would like to get this working in QT 4.8 on a Raspberry PI. Do you think there would be much working back porting? Also looking to use it in a command line application and I think there are some QUI requirements.

macoss commented 9 years ago

Figured out the issue with the compile under 4.8 and the Raspberry PI. I made a quick change and got it to compile. The issue is that the QThread::Usleep function is protected in 4.8. I'm not an QT developer, but I created a Thread class based on QThread and wrapped the Usleep function. Fixed the issue. Would you have a better solution?

petersimonsson commented 9 years ago

I think a better solution is to use usleep directly without the Qt wrapper.