Pretty sure, there was a lot of errors about powermanager before I added the OS/2 defines.
I do see that winscreensaver.cpp isn't being compiled. I patched smplayer.pro like this,
--- a/src/smplayer.pro
+++ b/src/smplayer.pro
@@ -593,7 +593,7 @@ contains( DEFINES, SCREENSAVER_OFF ) {
HEADERS += powersaving.h
SOURCES += powersaving.cpp
}
- win32 {
+ win32:os2 {
HEADERS += winscreensaver.h
SOURCES += winscreensaver.cpp
}
Is that the correct way to add OS/2 support?