Show Posts

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.


Messages - Jochen Schäfer

Pages: 1 ... 3 4 [5] 6 7 ... 23
61
Programming / Re: Qt6 Development
« on: July 16, 2023, 09:41:11 am »
So, I wanted to build Qt6, but I'm stuck with ninja. It will build until at the end some python file gets created or so (not at the OS/2 machine ATM), it will hard hang the PMSHELL, such that I have to turn off the machine.
I also had to comment the parameters in getopt for some test.

@Paul: How did you compile ninja?  Did you post some binaries? I didnt see anything.

62
Programming / Re: Strange behaviour in SDL2
« on: July 15, 2023, 10:13:18 am »
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
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
- build with cmake --build .
- 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....
Thanks for the instruction.
Re the build requirements of Qt5: Can you please point me, where they are listed?

64
Programming / Re: Strange behaviour in SDL2
« on: July 14, 2023, 04:57:42 pm »
I always find it helpful to look at what the WinMM code is doing.
Paul, do we have build instructions for Qt6?

65
General Advertisements / Re: Thinkpad T420
« on: July 12, 2023, 10:29:43 pm »
Ah, yes. In Germany to be precise.

66
General Advertisements / Thinkpad T420
« on: July 12, 2023, 12:25:43 pm »
Now I have a T480, so my trusty old T420 (german keyboard) has to go.
https://share.icloud.com/photos/06aUbsWwezbc9npc9n7rgWCcw
https://share.icloud.com/photos/0b3rhuB4p5PLf3GAyE9_jd7Tg

It has an HDD with 120 GB capacity, and a mSATA SSD also with 120GB.
Memory is 6GB. It has the i5-2520M CPU and the 1600x900 14.1" display.
It also comes with a docking station.
I removed the Wifi white list from the BIOS and installed an Intel 5100, such that you can use GenMac with this card, cf https://share.icloud.com/photos/0d2voAi79CRSW_8tnRCfVvRJw.
One speaker cover is missing, but the speaker works fine, cf https://share.icloud.com/photos/0dditJjtyoLi7Y-De5aODFy_g.

I will wipe the drives, before I ship the computer.

Make me an offer, and we will work it out.

67
Applications / Re: FeatherNotes for OS/2
« on: July 10, 2023, 09:14:10 am »
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).

68
Applications / Re: FeatherNotes for OS/2
« on: July 06, 2023, 03:07:45 pm »
thank you for fixing that so quickly. just tried it out. works well here.

But i found some other issue, related to the previous one. The €-Symbol is not recognized already while typing it...
This is probably a QT5 issue. Can you create an issue here: https://github.com/bitwiseworks/qt5-os2/issues.

69
Applications / Re: FeatherNotes for OS/2
« on: July 06, 2023, 11:25:58 am »
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.
I fixed the issue for OS/2 and made a new release, which can be downloaded on my Github page.

70
Applications / Re: FeatherNotes for OS/2
« on: July 04, 2023, 10:55:40 am »
I will look at the issue.

71
Programming / Re: Strange behaviour in SDL2
« on: July 03, 2023, 11:38:44 am »
Sure, there is no community as such on Slack.
We will absolutely communicate our solution to this forum, when we have a definite answer.
We are still experimenting at the moment.

72
Programming / Re: Strange behaviour in SDL2
« on: July 03, 2023, 09:41:05 am »
I will need to reread the docs. We'll continue on Slack.
Just what we need, another forum for OS/2 users to splinter the user group...
Come on. Nobody wants to splinter the community. We are just working on a solution there.

73
Programming / Re: Strange behaviour in SDL2
« on: June 30, 2023, 05:48:35 pm »
Also, what you would need to do is build a list of devices in the SDL_DetectDevices function.
Then, the one-based device number can be the handle (again, one-based) that you use as the instance number in the MCI_OPEN call. That would allow to select between different devices.
Would that one-based index also go into usDeviceID for the MCI_OPEN message or would that go elsewhere? The documentation only states usDeviceID is a return value for MCI_OPEN.

74
Programming / Re: Strange behaviour in SDL2
« on: June 30, 2023, 02:18:13 pm »
Actually, the code uses the returned device id (if this is what you meant).
My question would be then, how to open the selected card in MCI_OPEN? What identifier is needed to say open the USB audio card instead of the internal card?

75
Programming / Re: Strange behaviour in SDL2
« on: June 30, 2023, 12:45:38 pm »
Hi Lars.

It uses DART. The code, I'm referencing, is in https://github.com/josch1710/SDL2-os2/blob/master/src/audio/os2/SDL_os2audio.c.

Pages: 1 ... 3 4 [5] 6 7 ... 23