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 - Paul Smedley

Pages: [1] 2 3 ... 128
1
Programming / Re: Qt6 Development
« on: October 03, 2023, 10:05:17 am »
Confirming thqt qtwebengine 6.5.3 build fails with a very similar failed assertion error to that in https://github.com/bitwiseworks/node-os2/issues/1#issuecomment-1620655368

2
Programming / Re: Duplicate symbol error
« on: October 02, 2023, 05:42:35 am »
Check smplayer.pro - screensaver.cpp  is being included twice

git diff @ https://smedley.id.au/tmp/smplayer.diff
smplayer.exe (untested) @ https://smedley.id.au/tmp/smplayer.zip

3
Programming / Re: OPenchat
« on: October 01, 2023, 02:14:32 am »
  I get that same POPUPLOG when trying to run both OpenChat and OpenChat-SMP on ArcaOS 5.1. No exceptq file either...

Openchat pre-dates exceptq by at least a decade....

4
Programming / Re: Duplicate symbol error
« on: October 01, 2023, 02:13:44 am »
Are you sure the codepath below isn't being called?
Code: [Select]
#ifdef OS_UNIX_NOT_MAC
#include "powersaving.h"
#endif

https://github.com/smplayer-dev/smplayer/blob/master/src/screensaver.cpp#L24C1-L26C7

Afterall, we are often OS_UNIX and not MAC :)

5
Programming / Re: Qt6 Development
« on: October 01, 2023, 12:55:16 am »
Hey All,

After a bit of a break from OS/2 related stuff (I got a new car; switched electricity provider to one who provided wholesale pricing,  which then necessitated me writing some code to integrate their API into OpenHAB; and other random life factors which causes me to not really do anything OS/2 related for a couple of months,  with the exception of raising a PR to get ninja working in bww cmake).

Anyhow,  the release of Qt 6.5.3 triggered me to update the code in my github repositories, and I'm back to trying to get the webengine building. All modules other than the webengine are built  (but not tested).

Things I know about:
- the issues with QtDeclarative 'Quick' examples remain - I sorta understand why they fail, but need to spend some quality time thinking on how to resolve
- bww cmake  (even with the latest patch) doesn't support TARGET_SHORT with Ninja (need to check it works  with unix make files). Unfortunately,  my own cmake github is a mess, and I wasn't very good at checking in the specific patches that got ninja working correctly, so I'm still trying to identify the specific missing patch
- nodejs  issues  with QtWebEngine 6.5.x  - which are now basically the same as dmik  is seeing in https://github.com/bitwiseworks/node-os2/issues/1#issuecomment-1620655368

More when there is something more to talk about....

7
Programming / Re: Qt6 Development
« on: July 24, 2023, 10:18:10 am »
There is a new release of Dooble (7/15) - any chance you could build it for QT6?
Not tested, but https://smedley.id.au/tmp/dooble-2023.07.15-os2-qt-6.3.x-20230724.zip

8
Programming / Re: Qt6 Development
« on: July 23, 2023, 11:28:33 am »
I committed updates to the 6.5.x branch to update the code to 6.5.2. Rebuilding it all now - got it all built except the webengine - nodejs updates are required which I haven't had time to investigate - hoping dmik solves https://github.com/bitwiseworks/node-os2/issues/1 and I *think* it will fix javascript in Qt 6.5.x too. Sponsorship for Dmitry might help too.

9
Programming / Re: Qt6 Development
« on: July 17, 2023, 06:46:49 am »
Next error i see when building tools...

Check popuplog.os2 - my guess is it's finding an incompatible DLL with the same name as one that's being build.

I add my equivalent to D:\qt632-src\qt6-tools-os2\build\lib to the beginlibpath to ensure it's finding the built DLL's not the system ones.

Cheers,

Paul.

10
Programming / Re: Qt6 Development
« on: July 16, 2023, 10:39:54 am »
Hi Tellie,

This is due to bww cmake vs my cmake. I made changes to increase the probability of getting unique DLL names.

Thanks for confirming the build completes.

Cheers,

Paul.

11
Programming / Re: Qt6 Development
« on: July 16, 2023, 09:46:45 am »
Hi Jochen,

Ninja isn't mandatory for Qt6 base. I use it, but cmake requires some fixes for it to be able to build DLLs.

I'd suggest configuring the unix makefiles... add:
Code: [Select]
-G "Unix Makefiles" to your cmake line.

Meanwhile:
My build of cmake: https://smedley.id.au/tmp/cmake-3.20.6-os2-20230204.zip
My build of ninja: https://smedley.id.au/tmp/ninja.exe

Cheers,

Paul.

12
Programming / Re: Strange behaviour in SDL2
« on: July 15, 2023, 10:45:23 am »
See steps 1 & 2 of https://github.com/bitwiseworks/qt5-os2/wiki/Developers#building-qt

We should probably move this to a new thread as it's a way OT from SDL2 behaviour. It would be good if others could confirm things build for them - I also need to work out what patches to cmake are necessary and get them into the bww build to make things easier.

13
Programming / Re: Strange behaviour in SDL2
« on: July 15, 2023, 09:38:57 am »
Hey Dave - I thought you could build qtbase - it was just the webengine you had issues with? webengine definitely runs out of memory - and built has to be restarted with -j1 to limit ninja to one job for a few build files...

14
Programming / Re: Strange behaviour in SDL2
« on: July 15, 2023, 12:08:36 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....


15
Programming / Re: Strange behaviour in SDL2
« on: July 13, 2023, 11:14:35 pm »
Hi Lars,

The subbed code is at https://github.com/psmedley/qt6-multimedia-os2/tree/os2audio/src/multimedia/platform/os2

I also struggle with c++ :)

Cheers,

Paul

Pages: [1] 2 3 ... 128