Author Topic: Qt6 Development  (Read 544667 times)

TeLLie

  • Sr. Member
  • ****
  • Posts: 278
  • Karma: +16/-0
    • View Profile
Re: Qt6 Development
« Reply #825 on: January 01, 2025, 05:14:59 pm »
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

  • Hero Member
  • *****
  • Posts: 2531
  • Karma: +195/-0
    • View Profile
Re: Qt6 Development
« Reply #826 on: January 02, 2025, 07:36:22 am »
Code: [Select]
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
« Last Edit: January 02, 2025, 07:58:34 am by Paul Smedley »

TeLLie

  • Sr. Member
  • ****
  • Posts: 278
  • Karma: +16/-0
    • View Profile
Re: Qt6 Development
« Reply #827 on: January 02, 2025, 05:47:24 pm »
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

  • Hero Member
  • *****
  • Posts: 2531
  • Karma: +195/-0
    • View Profile
Re: Qt6 Development
« Reply #828 on: January 02, 2025, 10:00:57 pm »
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

  • Sr. Member
  • ****
  • Posts: 278
  • Karma: +16/-0
    • View Profile
Re: Qt6 Development
« Reply #829 on: January 02, 2025, 10:55:54 pm »
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

  • Hero Member
  • *****
  • Posts: 2531
  • Karma: +195/-0
    • View Profile
Re: Qt6 Development
« Reply #830 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:
Code: [Select]
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:
Code: [Select]
dash /qt6-6.2.x/bin/qt-configure-module .. 2>&1 | tee configure.log

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5406
  • Karma: +128/-1
    • View Profile
Re: Qt6 Development
« Reply #831 on: January 03, 2025, 05:48:12 am »
I'm confused.... how are you configuring/building qtmultimedia?

How is your source laid out?
I have a series of separate folders:
Code: [Select]
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:
Code: [Select]
dash /qt6-6.2.x/bin/qt-configure-module .. 2>&1 | tee configure.log

You don't build qt6-os2?

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2531
  • Karma: +195/-0
    • View Profile
Re: Qt6 Development
« Reply #832 on: January 03, 2025, 05:59:34 am »
I'm confused.... how are you configuring/building qtmultimedia?

How is your source laid out?
I have a series of separate folders:
Code: [Select]
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:
Code: [Select]
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

  • Hero Member
  • *****
  • Posts: 5406
  • Karma: +128/-1
    • View Profile
Re: Qt6 Development
« Reply #833 on: January 03, 2025, 07:06:00 am »
Code: [Select]
[quote author=Paul Smedley link=topic=3182.msg46652#msg46652 date=1735880374]
[quote author=Dave Yeo link=topic=3182.msg46651#msg46651 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

  • Hero Member
  • *****
  • Posts: 2531
  • Karma: +195/-0
    • View Profile
Re: Qt6 Development
« Reply #834 on: January 03, 2025, 07:10:44 am »
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

  • Sr. Member
  • ****
  • Posts: 405
  • Karma: +30/-0
  • ONU! (OS/2 is NOT Unix!)
    • View Profile
Re: Qt6 Development
« Reply #835 on: January 03, 2025, 07:44:08 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

  • Hero Member
  • *****
  • Posts: 2531
  • Karma: +195/-0
    • View Profile
Re: Qt6 Development
« Reply #836 on: January 03, 2025, 07:46:16 am »
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

  • Hero Member
  • *****
  • Posts: 5406
  • Karma: +128/-1
    • View Profile
Re: Qt6 Development
« Reply #837 on: January 03, 2025, 08:01:26 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

  • Sr. Member
  • ****
  • Posts: 405
  • Karma: +30/-0
  • ONU! (OS/2 is NOT Unix!)
    • View Profile
Re: Qt6 Development
« Reply #838 on: January 03, 2025, 08:18:29 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

  • Hero Member
  • *****
  • Posts: 2531
  • Karma: +195/-0
    • View Profile
Re: Qt6 Development
« Reply #839 on: January 03, 2025, 08:29:25 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....
« Last Edit: January 03, 2025, 08:31:45 am by Paul Smedley »