31
Programming / Re: Strange behaviour in SDL2
« on: August 14, 2023, 01:22:51 pm »
@Lars, I don't quite get, what you are getting at. On my machine, the SDL2 tests work.
OS2World.com Forum is back !!!
Remember to visit OS2World at:
http://www.os2world.com
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Hi Jochen,That's a new one. Do you have some other SDL2 applications, you can test?
If I adjust the volume using the WPS volume knob app while PRBoom is running, the computer locks solid and I have to do a hard reset.
For MIDI, should I use 'SDL' or 'Fluidsynth' in PRBoom? Or does MIDI not work at all?Easiest way is using SDL. For fluidsynth, you would need a soundfont library, and something must be configured (which slips my minds ATM).
Regards,
Installed the new SDL2 from Bitwiseworks, but don't get any sound from PRBoom+, although it seems to work otherwise. Has anyone else tried the new SDL2 and able to get sound? Is there some setting in PRBoom+ needed to get sound on OS/2?Can you start the system volume controll application and adjust the volume while PrBoom is running? Does sound becomes audible, when you adjusted the volume?
Regards,
Would it be possible to compile and run ClassiCube for OS/2?I'm working on it.
https://github.com/UnknownShadow200/ClassiCube#compiling---other-desktop-oses
Thanks for the instruction.Paul, do we have build instructions for Qt6?
Rough instructions
- install dependencies per Qt5
- clone qt6-base - git clone https://github.com/psmedley/qt6-base-os2.git
- checkout 6.3.x branch - git checkout 6.3.x
- mkdir build
- cd build
- configure with something like:Code: [Select]set LIBS=-lpthread -lcx
- build with cmake --build .
set BEGINLIBPATH=u:\dev\qt6-base-os2-6.3.x\build\lib
dash ../configure -prefix /qt6 -no-opengl -release -system-sqlite -openssl-linked -no-pch -no-avx -- -DQT_BUILD_EXAMPLES=ON -DQT_BUILD_TESTS=OFF 2>&1 | tee configure.log
- install with cmake --install .
- clone qt6-multimedia - git clone https://github.com/psmedley/qt6-multimedia-os2.git
- checkout os2sound branch - git checkout os2sound
- mkdir build
- cd build
- configure with something like:Code: [Select]dash /qt6/bin/qt-configure-module .. 2>&1 | tee configure.log
- build with cmake --build .
- install with cmake --install .
The above should work - but it's kinda from memory....
EDIT: looks like Feathernotes uses <alt><shift> to left and right justify text, so probably not gonna work unfortunately...In FeatherPad, you can change key shortcuts. Perhaps, you are able to do that in FeatherNotes, too? (Sorry, I'm not at my dev machine for the day).
thank you for fixing that so quickly. just tried it out. works well here.This is probably a QT5 issue. Can you create an issue here: https://github.com/bitwiseworks/qt5-os2/issues.
But i found some other issue, related to the previous one. The €-Symbol is not recognized already while typing it...
Looks as though it's saving the file in UTF-8 but opening it in the default system encoding (850).Yes, that's correct as per Qt5 documentation. The code is certainly under the assumption, that the default nowadays is UTF-8.