alfkil / amiga-qt6

Qt 6.2.0 for AmigaOS 4.1 with OpenGLES2
Other
4 stars 1 forks source link

QSharedMemoryPrivate’ does not have any field named ‘unix_key #1

Open seventhwonder-amiga opened 2 years ago

seventhwonder-amiga commented 2 years ago

Dear alfkill

I am trying to build qt6 fo AmigaOS4 on Ubuntu

While compiling the Amiga version, I got an error like this.

/home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp: In member function ‘bool QSharedMemoryPrivate::cleanHandle()’: /home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp:137:5: error: ‘unix_key’ was not declared in this scope 137 | unix_key = 0; | ^~~~~~~~ /home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp: In member function ‘bool QSharedMemoryPrivate::create(qsizetype)’: /home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp:141:45: warning: unused parameter ‘size’ [-Wunused-parameter] 141 | bool QSharedMemoryPrivate::create(qsizetype size) | ~~~~~~~~~~^~~~ /home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp: In member function ‘bool QSharedMemoryPrivate::attach(QSharedMemory::AccessMode)’: /home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp:182:61: warning: unused parameter ‘mode’ [-Wunused-parameter] 182 | bool QSharedMemoryPrivate::attach(QSharedMemory::AccessMode mode) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ make[2]: *** [src/tools/bootstrap/CMakeFiles/Bootstrap.dir/build.make:1350: src/tools/bootstrap/CMakeFiles/Bootstrap.dir/__/__/corelib/kernel/qsharedmemory_systemv.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:2403: src/tools/bootstrap/CMakeFiles/Bootstrap.dir/all] Error 2 make: *** [Makefile:146: all] Error 2

alfkil commented 2 years ago

You need to have both UNIX and AMIGA defined in the configure step. What does your cmake call look like??

lør. 30. jul. 2022 14.22 skrev seventhwonder-amiga @.***

:

Dear alfkill

I am trying to build qt6 fo AmigaOS4 on Ubuntu

While compiling the Amiga version, I got an error like this.

/home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp: In member function ‘bool QSharedMemoryPrivate::cleanHandle()’: /home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp:137:5: error: ‘unix_key’ was not declared in this scope 137 | unix_key = 0; | ^~~~ /home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp: In member function ‘bool QSharedMemoryPrivate::create(qsizetype)’: /home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp:141:45: warning: unused parameter ‘size’ [-Wunused-parameter] 141 | bool QSharedMemoryPrivate::create(qsizetype size) | ~~^~~~ /home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp: In member function ‘bool QSharedMemoryPrivate::attach(QSharedMemory::AccessMode)’: /home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp:182:61: warning: unused parameter ‘mode’ [-Wunused-parameter] 182 | bool QSharedMemoryPrivate::attach(QSharedMemory::AccessMode mode) |


[src/tools/bootstrap/CMakeFiles/Bootstrap.dir/build.make:1350:
src/tools/bootstrap/CMakeFiles/Bootstrap.dir/__/__/corelib/kernel/qsharedmemory_systemv.cpp.o]
Error 1 make[1]: *** [CMakeFiles/Makefile2:2403:
src/tools/bootstrap/CMakeFiles/Bootstrap.dir/all] Error 2 make: ***
[Makefile:146: all] Error 2

—
Reply to this email directly, view it on GitHub
<https://github.com/alfkil/amiga-qt6/issues/1>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGB2356FQYIUBQOQNYHV7P3VWUNARANCNFSM55DEVKFQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
seventhwonder-amiga commented 2 years ago

You need to have both UNIX and AMIGA defined in the configure step. What does your cmake call look like?? lør. 30. jul. 2022 14.22 skrev seventhwonder-amiga @. : Dear alfkill I am trying to build qt6 fo AmigaOS4 on Ubuntu While compiling the Amiga version, I got an error like this. /home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp: In member function ‘bool QSharedMemoryPrivate::cleanHandle()’: /home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp:137:5: error: ‘unix_key’ was not declared in this scope 137 | unix_key = 0; | ^~~~ /home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp: In member function ‘bool QSharedMemoryPrivate::create(qsizetype)’: /home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp:141:45: warning: unused parameter ‘size’ [-Wunused-parameter] 141 | bool QSharedMemoryPrivate::create(qsizetype size) | ~~^~ /home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp: In member function ‘bool QSharedMemoryPrivate::attach(QSharedMemory::AccessMode)’: /home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp:182:61: warning: unused parameter ‘mode’ [-Wunused-parameter] 182 | bool QSharedMemoryPrivate::attach(QSharedMemory::AccessMode mode) | ~~~~~~^~ make[2]: [src/tools/bootstrap/CMakeFiles/Bootstrap.dir/build.make:1350: src/tools/bootstrap/CMakeFiles/Bootstrap.dir///corelib/kernel/qsharedmemory_systemv.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:2403: src/tools/bootstrap/CMakeFiles/Bootstrap.dir/all] Error 2 make: [Makefile:146: all] Error 2 — Reply to this email directly, view it on GitHub <#1>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGB2356FQYIUBQOQNYHV7P3VWUNARANCNFSM55DEVKFQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Thanks for the answer

I followed the instructions

Configure and build:

git clone https://github.com/alfkil/amiga-qt6.git

mkdir qt6-amiga-build

cd qt6-amiga-build

../amiga-qt6/configure-amiga.sh

make

sudo make install

alfkil commented 2 years ago

Ok. There is a small error in configure-amiga.sh.

You need to edit it and replace

amiga-test-qt6

with

amiga-qt6

Hooe it helps.

lør. 30. jul. 2022 16.04 skrev seventhwonder-amiga @.***

:

You need to have both UNIX and AMIGA defined in the configure step. What does your cmake call look like?? lør. 30. jul. 2022 14.22 skrev seventhwonder-amiga @.*** … <#m167158403762894216> : Dear alfkill I am trying to build qt6 fo AmigaOS4 on Ubuntu While compiling the Amiga version, I got an error like this. /home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp: In member function ‘bool QSharedMemoryPrivate::cleanHandle()’: /home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp:137:5: error: ‘unix_key’ was not declared in this scope 137 | unix_key = 0; | ^~~~ /home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp: In member function ‘bool QSharedMemoryPrivate::create(qsizetype)’: /home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp:141:45: warning: unused parameter ‘size’ [-Wunused-parameter] 141 | bool QSharedMemoryPrivate::create(qsizetype size) | ~~^~~~ /home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp: In member function ‘bool QSharedMemoryPrivate::attach(QSharedMemory::AccessMode)’: /home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp:182:61: warning: unused parameter ‘mode’ [-Wunused-parameter] 182 | bool QSharedMemoryPrivate::attach(QSharedMemory::AccessMode mode) |


[src/tools/bootstrap/CMakeFiles/Bootstrap.dir/build.make:1350:
src/tools/bootstrap/CMakeFiles/Bootstrap.dir/*/*/corelib/kernel/qsharedmemory_systemv.cpp.o]
Error 1 make[1]: *** [CMakeFiles/Makefile2:2403:
src/tools/bootstrap/CMakeFiles/Bootstrap.dir/all] Error 2 make: ***
[Makefile:146: all] Error 2 — Reply to this email directly, view it on
GitHub <#1 <https://github.com/alfkil/amiga-qt6/issues/1>>, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AGB2356FQYIUBQOQNYHV7P3VWUNARANCNFSM55DEVKFQ
. You are receiving this because you are subscribed to this thread.Message
ID: *@*.***>

Thanks for the answer

I followed the instructions

Configure and build:

git clone https://github.com/alfkil/amiga-qt6.git

mkdir qt6-amiga-build

cd qt6-amiga-build

../amiga-qt6/configure-amiga.sh

make

sudo make install

—
Reply to this email directly, view it on GitHub
<https://github.com/alfkil/amiga-qt6/issues/1#issuecomment-1200163523>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGB235Y4KQXGDMAIOYSSNJTVWUY5NANCNFSM55DEVKFQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
seventhwonder-amiga commented 2 years ago

Ok. There is a small error in configure-amiga.sh. You need to edit it and replace amiga-test-qt6 with amiga-qt6 Hooe it helps. lør. 30. jul. 2022 16.04 skrev seventhwonder-amiga @. : You need to have both UNIX and AMIGA defined in the configure step. What does your cmake call look like?? lør. 30. jul. 2022 14.22 skrev seventhwonder-amiga @. … <#m167158403762894216> : Dear alfkill I am trying to build qt6 fo AmigaOS4 on Ubuntu While compiling the Amiga version, I got an error like this. /home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp: In member function ‘bool QSharedMemoryPrivate::cleanHandle()’: /home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp:137:5: error: ‘unix_key’ was not declared in this scope 137 | unix_key = 0; | ^~~~ /home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp: In member function ‘bool QSharedMemoryPrivate::create(qsizetype)’: /home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp:141:45: warning: unused parameter ‘size’ [-Wunused-parameter] 141 | bool QSharedMemoryPrivate::create(qsizetype size) | ~~^~ /home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp: In member function ‘bool QSharedMemoryPrivate::attach(QSharedMemory::AccessMode)’: /home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp:182:61: warning: unused parameter ‘mode’ [-Wunused-parameter] 182 | bool QSharedMemoryPrivate::attach(QSharedMemory::AccessMode mode) | ~~~~~~^~ make[2]: [src/tools/bootstrap/CMakeFiles/Bootstrap.dir/build.make:1350: src/tools/bootstrap/CMakeFiles/Bootstrap.dir///corelib/kernel/qsharedmemory_systemv.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:2403: src/tools/bootstrap/CMakeFiles/Bootstrap.dir/all] Error 2 make: [Makefile:146: all] Error 2 — Reply to this email directly, view it on GitHub <#1 <#1>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGB2356FQYIUBQOQNYHV7P3VWUNARANCNFSM55DEVKFQ . You are receiving this because you are subscribed to this thread.Message ID: @.> Thanks for the answer I followed the instructions Configure and build: git clone https://github.com/alfkil/amiga-qt6.git mkdir qt6-amiga-build cd qt6-amiga-build ../amiga-qt6/configure-amiga.sh make sudo make install — Reply to this email directly, view it on GitHub <#1 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGB235Y4KQXGDMAIOYSSNJTVWUY5NANCNFSM55DEVKFQ . You are receiving this because you commented.Message ID: @.***>

I have already noticed that and fixed it

alfkil commented 2 years ago

Ok. But the file in question should not be compiled at all. So there is something wrong with the configure step. Not sure what it is.

lør. 30. jul. 2022 16.13 skrev seventhwonder-amiga @.***

:

Ok. There is a small error in configure-amiga.sh. You need to edit it and replace amiga-test-qt6 with amiga-qt6 Hooe it helps. lør. 30. jul. 2022 16.04 skrev seventhwonder-amiga @. … <#m-4441443182704526767> : You need to have both UNIX and AMIGA defined in the configure step. What does your cmake call look like?? lør. 30. jul. 2022 14.22 skrev seventhwonder-amiga @. … <#m167158403762894216> : Dear alfkill I am trying to build qt6 fo AmigaOS4 on Ubuntu While compiling the Amiga version, I got an error like this. /home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp: In member function ‘bool QSharedMemoryPrivate::cleanHandle()’: /home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp:137:5: error: ‘unix_key’ was not declared in this scope 137 | unix_key = 0; | ^~~~ /home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp: In member function ‘bool QSharedMemoryPrivate::create(qsizetype)’: /home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp:141:45: warning: unused parameter ‘size’ [-Wunused-parameter] 141 | bool QSharedMemoryPrivate::create(qsizetype size) | ~~^~~~ /home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp: In member function ‘bool QSharedMemoryPrivate::attach(QSharedMemory::AccessMode)’: /home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp:182:61: warning: unused parameter ‘mode’ [-Wunused-parameter] 182 | bool QSharedMemoryPrivate::attach(QSharedMemory::AccessMode mode) |


[src/tools/bootstrap/CMakeFiles/Bootstrap.dir/build.make:1350:
src/tools/bootstrap/CMakeFiles/Bootstrap.dir/*/*/corelib/kernel/qsharedmemory_systemv.cpp.o]
Error 1 make[1]: *** [CMakeFiles/Makefile2:2403:
src/tools/bootstrap/CMakeFiles/Bootstrap.dir/all] Error 2 make: ***
[Makefile:146: all] Error 2 — Reply to this email directly, view it on
GitHub <#1 <https://github.com/alfkil/amiga-qt6/issues/1> <#1
<https://github.com/alfkil/amiga-qt6/issues/1>>>, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGB2356FQYIUBQOQNYHV7P3VWUNARANCNFSM55DEVKFQ
. You are receiving this because you are subscribed to this thread.Message
ID: *@*.*> Thanks for the answer I followed the instructions Configure
and build: git clone https://github.com/alfkil/amiga-qt6.git
<https://github.com/alfkil/amiga-qt6.git> mkdir qt6-amiga-build cd
qt6-amiga-build ../amiga-qt6/configure-amiga.sh make sudo make install —
Reply to this email directly, view it on GitHub <#1 (comment)
<https://github.com/alfkil/amiga-qt6/issues/1#issuecomment-1200163523>>, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AGB235Y4KQXGDMAIOYSSNJTVWUY5NANCNFSM55DEVKFQ
<https://github.com/notifications/unsubscribe-auth/AGB235Y4KQXGDMAIOYSSNJTVWUY5NANCNFSM55DEVKFQ>
. You are receiving this because you commented.Message ID: @.*>

I have already noticed that and fixed it

—
Reply to this email directly, view it on GitHub
<https://github.com/alfkil/amiga-qt6/issues/1#issuecomment-1200165010>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGB235ZQGGNY4DQROXV4AOLVWU2BFANCNFSM55DEVKFQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
alfkil commented 2 years ago

Oh, it is the bootstrap. I am not sure how well this is supported. In essence this means, that you are trying to do a shared build including the command line tools. Perhaps if you switch build system to "Generic" instead of "AmigaOS" you will be in better luck.

lør. 30. jul. 2022 16.48 skrev Alfkil Wennermark @.***>:

Ok. But the file in question should not be compiled at all. So there is something wrong with the configure step. Not sure what it is.

lør. 30. jul. 2022 16.13 skrev seventhwonder-amiga < @.***>:

Ok. There is a small error in configure-amiga.sh. You need to edit it and replace amiga-test-qt6 with amiga-qt6 Hooe it helps. lør. 30. jul. 2022 16.04 skrev seventhwonder-amiga @. … <#m_5201675562235123781m-359959534775891517m-4441443182704526767_> : You need to have both UNIX and AMIGA defined in the configure step. What does your cmake call look like?? lør. 30. jul. 2022 14.22 skrev seventhwonder-amiga @. … <#m167158403762894216> : Dear alfkill I am trying to build qt6 fo AmigaOS4 on Ubuntu While compiling the Amiga version, I got an error like this. /home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp: In member function ‘bool QSharedMemoryPrivate::cleanHandle()’: /home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp:137:5: error: ‘unix_key’ was not declared in this scope 137 | unix_key = 0; | ^~~~ /home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp: In member function ‘bool QSharedMemoryPrivate::create(qsizetype)’: /home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp:141:45: warning: unused parameter ‘size’ [-Wunused-parameter] 141 | bool QSharedMemoryPrivate::create(qsizetype size) | ~~^~~~ /home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp: In member function ‘bool QSharedMemoryPrivate::attach(QSharedMemory::AccessMode)’: /home/sinan/develop/amiga-qt6/src/corelib/kernel/qsharedmemory_systemv.cpp:182:61: warning: unused parameter ‘mode’ [-Wunused-parameter] 182 | bool QSharedMemoryPrivate::attach(QSharedMemory::AccessMode mode) |


[src/tools/bootstrap/CMakeFiles/Bootstrap.dir/build.make:1350:
src/tools/bootstrap/CMakeFiles/Bootstrap.dir/*/*/corelib/kernel/qsharedmemory_systemv.cpp.o]
Error 1 make[1]: *** [CMakeFiles/Makefile2:2403:
src/tools/bootstrap/CMakeFiles/Bootstrap.dir/all] Error 2 make: ***
[Makefile:146: all] Error 2 — Reply to this email directly, view it on
GitHub <#1 <https://github.com/alfkil/amiga-qt6/issues/1> <#1
<https://github.com/alfkil/amiga-qt6/issues/1>>>, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGB2356FQYIUBQOQNYHV7P3VWUNARANCNFSM55DEVKFQ
. You are receiving this because you are subscribed to this thread.Message
ID: *@*.*> Thanks for the answer I followed the instructions Configure
and build: git clone https://github.com/alfkil/amiga-qt6.git
<https://github.com/alfkil/amiga-qt6.git> mkdir qt6-amiga-build cd
qt6-amiga-build ../amiga-qt6/configure-amiga.sh make sudo make install —
Reply to this email directly, view it on GitHub <#1 (comment)
<https://github.com/alfkil/amiga-qt6/issues/1#issuecomment-1200163523>>, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AGB235Y4KQXGDMAIOYSSNJTVWUY5NANCNFSM55DEVKFQ
<https://github.com/notifications/unsubscribe-auth/AGB235Y4KQXGDMAIOYSSNJTVWUY5NANCNFSM55DEVKFQ>
. You are receiving this because you commented.Message ID: @.*>

I have already noticed that and fixed it

—
Reply to this email directly, view it on GitHub
<https://github.com/alfkil/amiga-qt6/issues/1#issuecomment-1200165010>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGB235ZQGGNY4DQROXV4AOLVWU2BFANCNFSM55DEVKFQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
seventhwonder-amiga commented 2 years ago

I switched to Qt 6.2.0 on Ubuntu 22, with this I am able to reach 80% build for QT6-OS4

In which environment were you able to compile it ?

Oh, it is the bootstrap. I am not sure how well this is supported. In essence this means, that you are trying to do a shared build including the command line tools. Perhaps if you switch build system to "Generic" instead of "AmigaOS" you will be in better luck. lør. 30. jul. 2022 16.48 skrev Alfkil Wennermark @.***>:

alfkil commented 2 years ago

I don't think the Ubuntu version affects the build success. But I am using a custom adtools, which is quite essential.

søn. 31. jul. 2022 23.51 skrev seventhwonder-amiga @.***

:

I switched to Qt 6.2.0 on Ubuntu 22, with this I am able to reach 80% build for QT6-OS4

In which environment were you able to compile it ?

Oh, it is the bootstrap. I am not sure how well this is supported. In essence this means, that you are trying to do a shared build including the command line tools. Perhaps if you switch build system to "Generic" instead of "AmigaOS" you will be in better luck. lør. 30. jul. 2022 16.48 skrev Alfkil Wennermark @.***>:

— Reply to this email directly, view it on GitHub https://github.com/alfkil/amiga-qt6/issues/1#issuecomment-1200507197, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGB2355XEZTO3ICX7FFZKRLVW3YO5ANCNFSM55DEVKFQ . You are receiving this because you commented.Message ID: @.***>

seventhwonder-amiga commented 2 years ago

Changing AmigaOS to Generic, doesn't make any changes..It is strange that now I am not able to compile up to 80%. I wonder if my Qt 6.2 build is problematic..

How did you build Qt6.2 on your Ubuntu ? I used this tutorial https://www.ics.com/blog/how-build-qt-620-source-ubuntu-linux

Also is this project on hold / cancelled ? Or do you plan to resume later ?

Thank you.

I don't think the Ubuntu version affects the build success. But I am using a custom adtools, which is quite essential. søn. 31. jul. 2022 23.51 skrev seventhwonder-amiga @. : I switched to Qt 6.2.0 on Ubuntu 22, with this I am able to reach 80% build for QT6-OS4 In which environment were you able to compile it ? Oh, it is the bootstrap. I am not sure how well this is supported. In essence this means, that you are trying to do a shared build including the command line tools. Perhaps if you switch build system to "Generic" instead of "AmigaOS" you will be in better luck. lør. 30. jul. 2022 16.48 skrev Alfkil Wennermark @.>: — Reply to this email directly, view it on GitHub <#1 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGB2355XEZTO3ICX7FFZKRLVW3YO5ANCNFSM55DEVKFQ . You are receiving this because you commented.Message ID: @.***>

alfkil commented 1 year ago

ons. 3. aug. 2022 22.42 skrev seventhwonder-amiga @.***

:

Changing AmigaOS to Generic, doesn't make any changes..It is strange that now I am not able to compile up to 80%. I wonder if my Qt 6.2 build is problematic..

What happens at 80%?

How did you build Qt6.2 on your Ubuntu ? I used this tutorial https://www.ics.com/blog/how-build-qt-620-source-ubuntu-linux

Also is this project on hold / cancelled ? Or do you plan to resume later ?

The project is on hold. There is a compiler bug, that prevents correct operation on shared builds. I have committed a bug report to Sebastian Bauer, but nothing has happened. I don't know how to fix compiler bugs.

Thank you.

I don't think the Ubuntu version affects the build success. But I am using a custom adtools, which is quite essential. søn. 31. jul. 2022 23.51 skrev seventhwonder-amiga @.** … <#m-6846347522126322586> : I switched to Qt 6.2.0 on Ubuntu 22, with this I am able to reach 80% build for QT6-OS4 In which environment were you able to compile it ? Oh, it is the bootstrap. I am not sure how well this is supported. In essence this means, that you are trying to do a shared build including the command line tools. Perhaps if you switch build system to "Generic" instead of "AmigaOS" you will be in better luck. lør. 30. jul. 2022 16.48 skrev Alfkil Wennermark @.>: — Reply to this email directly, view it on GitHub <#1 (comment) https://github.com/alfkil/amiga-qt6/issues/1#issuecomment-1200507197>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGB2355XEZTO3ICX7FFZKRLVW3YO5ANCNFSM55DEVKFQ https://github.com/notifications/unsubscribe-auth/AGB2355XEZTO3ICX7FFZKRLVW3YO5ANCNFSM55DEVKFQ . You are receiving this because you commented.Message ID: @.*>

— Reply to this email directly, view it on GitHub https://github.com/alfkil/amiga-qt6/issues/1#issuecomment-1204461587, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGB2354KJRI6TC26BGCQM5TVXLKRRANCNFSM55DEVKFQ . You are receiving this because you commented.Message ID: @.***>

alfkil commented 1 year ago

This is an excerpt from src/corelib/CMakeLists.txt :

qt_internal_extend_target(Core CONDITION UNIX AND NOT ANDROID AND NOT AMIGA SOURCES kernel/qsharedmemory_posix.cpp kernel/qsharedmemory_systemv.cpp kernel/qsharedmemory_unix.cpp kernel/qsystemsemaphore_posix.cpp kernel/qsystemsemaphore_systemv.cpp kernel/qsystemsemaphore_unix.cpp )

qt_internal_extend_target(Core CONDITION AMIGA SOURCES kernel/qsharedmemory_amiga.cpp kernel/qsystemsemaphore_amiga.cpp )

Your problem seems to be, that you don't have "AMIGA" defined in your configuration step. If you had, you would not be trying to build kernel/qsystemsemaphore_systemv.cpp but instead kernel/qsystemsemaphore_amiga.cpp. So you have to retrace your steps by cleaning your build directory and rerun the cmake step from configure-amiga.sh.

Hope this helps!

alfkil commented 1 year ago

Further comment : It could also be because your bootstrap step tries to build a unix toolchain using your amiga cross compiler. I am not entirely sure, how this could go wrong, and how to solve it. If you by accident find out, please slip me a note.

alfkil commented 1 year ago

Try opening src/tools/bootstrap/CMakeLists.txt and change the following code to accomodate the amiga specific files (look in above comment).

qt_internal_extend_target(Bootstrap CONDITION UNIX SOURCES ../../corelib/io/qfilesystemengine_unix.cpp ../../corelib/io/qfilesystemiterator_unix.cpp ../../corelib/io/qfsfileengine_unix.cpp ../../corelib/kernel/qcore_unix.cpp ../../corelib/kernel/qsharedmemory_posix.cpp ../../corelib/kernel/qsharedmemory_systemv.cpp ../../corelib/kernel/qsharedmemory_unix.cpp ../../corelib/kernel/qsystemsemaphore_posix.cpp ../../corelib/kernel/qsystemsemaphore_systemv.cpp ../../corelib/kernel/qsystemsemaphore_unix.cpp )

If you figure it out, you might be in luck!