News:

OS2World.com Forum is back !!!

Remember to visit OS2World at:
http://www.os2world.com

Main Menu

Qt6 Development

Started by Paul Smedley, November 10, 2022, 09:28:30 PM

Previous topic - Next topic

TeLLie

Quote from: Paul Smedley on January 01, 2025, 07:59:40 AM
Any reason you're targeting 6.3.2, not 6.2.10?
Hi Paul,

I had that one pull some time ago, will pull the 6.2.10

Paul Smedley

#826
Quote from: Dave Yeo on January 01, 2025, 04:50:29 PM

CPU: GenuineIntel Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
CPU Speed: 3406 Mhz
CPU Count: 4
Loader's physical memory layout:
  Memory below 1MB: 625.00 KiB
  Memory between 1MB and 4GB: 3.41 GiB
  Memory below 4GB: 3.42 GiB


I do have to have the VIRTUALADDRESSLIMIT at 2816 for stability.
The one you linked looks like an older model, mine is more like https://www.ebay.com.au/itm/266562041268?_skw=m910s

Hmmm looking at https://psref.lenovo.com/syspool/Sys/PDF/ThinkCentre/ThinkCentre_M710_Tiny/ThinkCentre_M710_Tiny_Spec.pdf the M710Q I have can take up to an i7-7700T - I can get a CPU for just under $A100 - might order one :)

Current CPU is an i5-6500T

TeLLie

Hi Paul,

I have build most from qt6-6.2.10
Only media gives error:

Can't locate File/Basename.pm in @INC (@INC contains: /@unixroot/usr/local/lib/perl5 /@unixroot/usr/local/share/perl5 /@unixroot/usr/lib/perl5/vendor
perl /@unixroot/usr/share/perl5/vendor_perl /@unixroot/usr/lib/perl5 /@unixroot/usr/share/perl5 .) at f:/Qt6-6.2.x/bin/syncqt.pl line 47.
BEGIN failed--compilation aborted at f:/Qt6-6.2.x/bin/syncqt.pl line 47.
CMake Error at F:/qt6-src/qt6-base-os2/cmake/QtModuleHelpers.cmake:313 (message):
  Failed to run syncqt, return code: 2
Call Stack (most recent call first):
  f:/Qt6-6.2.x/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:170 (qt_internal_add_module)
  src/multimediaquick/CMakeLists.txt:9 (qt_internal_add_qml_module)

Have perl installed also the basename.pm is there...

Any thoughts??




Paul Smedley

Hey Tellie,
afaict my builds typically build syncqt.exe and don't use syncqt.pl can you shar eyour config.summary? and how you're configuring? My media - I assume you mean multimedia?

TeLLie

Hi PAul,

Yes its indeed multimedia from QT
I have not found a config.summary in multymedia dir
Or you wanted the one from base, i attach that one.
I use this cmd...

SET GCCOPT=-static-libgcc
set release=F:\qt6-6.2.x
set PATH=%release%\bin;%PATH%
set BEGINLIBPATH=%release%\lib;%release%\plugins;%BEGINLIBPATH%
set INCLUDEPATH=%release%\include;%INCLUDEPATH%
set LIBPATHSTRICT=T
cmake .. -G "Unix Makefiles" -DCMAKE_PREFIX_PATH=f:/Qt6-6.2.x -DCMAKE_INSTALL_PREFIX:PATH=f:/qt6-6.2.x -DQT_BUILD_EXAMPLES=OFF -DQT_BUILD_TESTS=OFF -Wno-dev 2>&1 |tee config.out

Paul Smedley

I'm confused.... how are you configuring/building qtmultimedia?

How is your source laid out?
I have a series of separate folders:
Directory of  U:\dev\qt6*os2

30/12/24   8:20         <DIR>      570  qt6-base-os2
10/10/24  16:05         <DIR>      124  qt6-charts-os2
10/10/24  16:07         <DIR>      124  qt6-declarative-os2
10/10/24  16:08         <DIR>      124  qt6-multimedia-os2
11/10/24  15:02         <DIR>      124  qt6-networkauth-os2
10/10/24  16:09         <DIR>      124  qt6-positioning-os2
10/10/24  16:10         <DIR>      124  qt6-qt5compat-os2
10/10/24  16:10         <DIR>      124  qt6-shadertools-os2
10/10/24  16:11         <DIR>      124  qt6-svg-os2
10/10/24  16:11         <DIR>      124  qt6-tools-os2
10/10/24  16:12         <DIR>      124  qt6-translations-os2
31/12/24  15:54         <DIR>      124  qt6-webchannel-os2
1/01/25  11:18         <DIR>      124  qt6-webengine-os2
24/11/24   7:01         <DIR>      124  qt6-websockets-os2


I first build qt6-base-os2 using a configuration similar to yours (btw why are you using unix makefiles and not ninja?)
I then build each other module by configuring with a script like:
dash /qt6-6.2.x/bin/qt-configure-module .. 2>&1 | tee configure.log

Dave Yeo

Quote from: Paul Smedley on January 02, 2025, 11:56:32 PM
I'm confused.... how are you configuring/building qtmultimedia?

How is your source laid out?
I have a series of separate folders:
Directory of  U:\dev\qt6*os2

30/12/24   8:20         <DIR>      570  qt6-base-os2
10/10/24  16:05         <DIR>      124  qt6-charts-os2
10/10/24  16:07         <DIR>      124  qt6-declarative-os2
10/10/24  16:08         <DIR>      124  qt6-multimedia-os2
11/10/24  15:02         <DIR>      124  qt6-networkauth-os2
10/10/24  16:09         <DIR>      124  qt6-positioning-os2
10/10/24  16:10         <DIR>      124  qt6-qt5compat-os2
10/10/24  16:10         <DIR>      124  qt6-shadertools-os2
10/10/24  16:11         <DIR>      124  qt6-svg-os2
10/10/24  16:11         <DIR>      124  qt6-tools-os2
10/10/24  16:12         <DIR>      124  qt6-translations-os2
31/12/24  15:54         <DIR>      124  qt6-webchannel-os2
1/01/25  11:18         <DIR>      124  qt6-webengine-os2
24/11/24   7:01         <DIR>      124  qt6-websockets-os2


I first build qt6-base-os2 using a configuration similar to yours (btw why are you using unix makefiles and not ninja?)
I then build each other module by configuring with a script like:
dash /qt6-6.2.x/bin/qt-configure-module .. 2>&1 | tee configure.log

You don't build qt6-os2?

Paul Smedley

Quote from: Dave Yeo on January 03, 2025, 05:48:12 AM
Quote from: Paul Smedley on January 02, 2025, 11:56:32 PM
I'm confused.... how are you configuring/building qtmultimedia?

How is your source laid out?
I have a series of separate folders:
Directory of  U:\dev\qt6*os2

30/12/24   8:20         <DIR>      570  qt6-base-os2
10/10/24  16:05         <DIR>      124  qt6-charts-os2
10/10/24  16:07         <DIR>      124  qt6-declarative-os2
10/10/24  16:08         <DIR>      124  qt6-multimedia-os2
11/10/24  15:02         <DIR>      124  qt6-networkauth-os2
10/10/24  16:09         <DIR>      124  qt6-positioning-os2
10/10/24  16:10         <DIR>      124  qt6-qt5compat-os2
10/10/24  16:10         <DIR>      124  qt6-shadertools-os2
10/10/24  16:11         <DIR>      124  qt6-svg-os2
10/10/24  16:11         <DIR>      124  qt6-tools-os2
10/10/24  16:12         <DIR>      124  qt6-translations-os2
31/12/24  15:54         <DIR>      124  qt6-webchannel-os2
1/01/25  11:18         <DIR>      124  qt6-webengine-os2
24/11/24   7:01         <DIR>      124  qt6-websockets-os2


I first build qt6-base-os2 using a configuration similar to yours (btw why are you using unix makefiles and not ninja?)
I then build each other module by configuring with a script like:
dash /qt6-6.2.x/bin/qt-configure-module .. 2>&1 | tee configure.log

You don't build qt6-os2?

What is this mythical qt6-os2? qt6-base-os2 contains the core modules, gui, networking, etc.

Dave Yeo

[quote author=Paul Smedley link=topic=3182.msg96652#msg96652 date=1735880374]
[quote author=Dave Yeo link=topic=3182.msg96651#msg96651 date=1735879692]

You don't build qt6-os2?
[/quote]

What is this mythical qt6-os2? qt6-base-os2 contains the core modules, gui, networking, etc.
[/quote]

I cloned it from [url]https://github.com/psmedley/qt6-os2

Ok, it seems it is 6.3.x rather then 6.2.x

Paul Smedley

https://github.com/psmedley/qt6-os2 redirects to https://github.com/psmedley/qt6-base-os2

Maybe way back when I first started the repo it was qt6-os2 but I renamed it.

Rich Walsh

Quote from: Paul Smedley on January 03, 2025, 05:59:34 AM
What is this mythical qt6-os2? qt6-base-os2 contains the core modules, gui, networking, etc.

..ummm... isn't that what https://github.com/bitwiseworks/qt5-os2/ is? I.e. a master repo with the individual modules as sub-repos. Look at https://github.com/bitwiseworks/qt5-os2/blob/master/init-repository-os2.sh which runs the main 'init-repository' script.

Paul Smedley

qt5-os2 != qt6-os2

If I had my time over, and knew/understood more about git, perhaps I could have structured things differently, but now, it is what it is.

Dave Yeo

Quote from: Rich Walsh on January 03, 2025, 07:44:08 AM
Quote from: Paul Smedley on January 03, 2025, 05:59:34 AM
What is this mythical qt6-os2? qt6-base-os2 contains the core modules, gui, networking, etc.

..ummm... isn't that what https://github.com/bitwiseworks/qt5-os2/ is? I.e. a master repo with the individual modules as sub-repos. Look at https://github.com/bitwiseworks/qt5-os2/blob/master/init-repository-os2.sh which runs the main 'init-repository' script.

That was what I assumed. Obviously a wrong assumption.

Rich Walsh

Quote from: Dave Yeo on January 03, 2025, 08:01:26 AM
Quote from: Rich Walsh on January 03, 2025, 07:44:08 AM
Quote from: Paul Smedley on January 03, 2025, 05:59:34 AM
What is this mythical qt6-os2? qt6-base-os2 contains the core modules, gui, networking, etc.

..ummm... isn't that what https://github.com/bitwiseworks/qt5-os2/ is? I.e. a master repo with the individual modules as sub-repos. Look at https://github.com/bitwiseworks/qt5-os2/blob/master/init-repository-os2.sh which runs the main 'init-repository' script.

That was what I assumed. Obviously a wrong assumption.

Someone is missing something here - it could be me, but...

Just like any other project, you have to clone the QT6 master repo from the original at 'qt.io', then port it to your platform. For QT5, it looks like BWW didn't have to do anything except add a small script which can probably be reused for QT6.

Perhaps I'll try it...

Paul Smedley

#839
Quote from: Rich Walsh on January 03, 2025, 08:18:29 AM
Perhaps I'll try it...

Fill your boots if you want to try this. But our git port sucks on large repositories. I'd rather spend time fixing actual issues with qt6 that restructing the git repo. Building each module separately really isn't that difficult.

Also, afaict from looking at https://github.com/bitwiseworks/qt5-os2/commits/master/qt5-os2 isn't a straight clone of the qt repo, dmitry imported specific versions or the code....