|
Re: Work on Qt 5.8 has begun :) |
Posted on: 2017/1/30 8:44
#21 |
---|---|---|
Just can't stay away
![]() ![]() Joined:
2009/10/7 0:11 From Copenhagen
Posts: 1188
|
So far so good. When linking c++ with gcc 5.3.0, I get these link errors:
Quote: ScratchHD:adtools-os4-20151223-268/ppc-amigaos/bin/ld: cannot find -lgcc I have set up the compiler according to the readme. Is there anything else, that I am missing? |
|
|
Re: Work on Qt 5.8 has begun :) |
Posted on: 2017/1/30 18:29
#22 |
---|---|---|
Just can't stay away
![]() ![]() Joined:
2008/1/6 17:56 From Pennsylvania, USA
Posts: 1264
|
@alfkil
I did a custom install of gcc 5.3.0 on my system so the only thing I can suggest is adding the path to libgcc.a to your ld search path to the link command line in your makefile with the -L option. On my system it would be something like " -L/SDK/gcc/lib/gcc/ppc-amigaos/5.3.0/newlib/lib/ " if you compile with newlib. EDIT: Some of the coreutils in the adtools archive are reported to have some bugs so it might be better to use the coreutils from the SDK (SDK:local/C/). |
|
_________________
Amiga X1000 with 2GB memory & OS 4.1FE + Radeon HD 5450 |
||
|
Re: Work on Qt 5.8 has begun :) |
Posted on: 2017/1/30 19:58
#23 |
---|---|---|
Just can't stay away
![]() ![]() Joined:
2009/10/7 0:11 From Copenhagen
Posts: 1188
|
@xenic
So far, so good... :) ![]() What next?? ;) |
|
|
Re: Work on Qt 5.8 has begun :) |
Posted on: 2017/1/30 20:23
#24 |
---|---|---|
Home away from home
![]() ![]() Joined:
2007/9/11 11:31 From Russia
Posts: 4498
|
@alfkil
Quote:
To merge all your heavy aos4 native changes from 4.x ?:) |
|
|
Re: Work on Qt 5.8 has begun :) |
Posted on: 2017/1/30 20:32
#25 |
---|---|---|
Just can't stay away
![]() ![]() Joined:
2009/10/7 0:11 From Copenhagen
Posts: 1188
|
@kas1e
:) Of course... But first: Fix qmake! ![]() ![]() |
|
|
Re: Work on Qt 5.8 has begun :) |
Posted on: 2017/2/1 1:59
#26 |
---|---|---|
Just can't stay away
![]() ![]() Joined:
2009/10/7 0:11 From Copenhagen
Posts: 1188
|
Apparently, on AmigaOS
Quote: mkdir("/some/existing/dir"); returns -1 (which is standard), but gives errno ENOSYS, which in sys/errno.h is described as Quote: #define ENOSYS 78 /* Function not implemented */ ..instead of Quote: EEXIST 17 /* File exists */ How does that make sense? |
|
|
Re: Work on Qt 5.8 has begun :) |
Posted on: 2017/2/1 12:18
#27 |
---|---|---|
Just popping in
![]() ![]() Joined:
2012/10/17 19:42 Posts: 65
|
How fast does QT is performing compared to native functions, % of overhead?
Kamelito |
|
|
Re: Work on Qt 5.8 has begun :) |
Posted on: 2017/2/1 15:04
#28 |
---|---|---|
Just can't stay away
![]() ![]() Joined:
2006/11/30 11:30 From Finland
Posts: 1576
|
@alfkil
Which file system is this with? If the CreateDir() call failed and IoErr() was set to ERROR_OBJECT_EXISTS then newlib will set errno to EEXIST. |
|
|
Re: Work on Qt 5.8 has begun :) |
Posted on: 2017/2/1 17:26
#29 |
---|---|---|
Just can't stay away
![]() ![]() Joined:
2008/1/6 17:56 From Pennsylvania, USA
Posts: 1264
|
@alfkil
I just ran a quick test. 1. Created a test directory in ram: named "testdir". 2. Added these lines to a small utility program: mkdir("ram:testdir"); printf("Error: %ld\n", errno); 3. Compiled the program and ran it with this result printed in the shell: Error: 17 That's the expected result. One possibility for your result might be that errno is redefined somewhere in the Qt code. I have a ported library that contains this line: #define errno Errno() // C library "errno" fails with sockets on some platforms Because of that definition, errno always returns ENOSYS. Edited by xenic on 2017/2/1 17:56:47
|
|
_________________
Amiga X1000 with 2GB memory & OS 4.1FE + Radeon HD 5450 |
||
|
Re: Work on Qt 5.8 has begun :) |
Posted on: 2017/2/1 19:09
#30 |
---|---|---|
Just can't stay away
![]() ![]() Joined:
2009/10/7 0:11 From Copenhagen
Posts: 1188
|
@xenic
I messed it up a bit, sorry... In fact, what was the problem is, that when using unix paths, and trying to create a root level entry (for instance '/MainHD'), you will be given an error code of ENOTDIR == 20 instad of EEXIST == 17. Quote:
(To be built with '-lunix') It is the same, if you try and mkdir("MainHD:", 0777); Edited by alfkil on 2017/2/1 19:42:26
|
|
|
Re: Work on Qt 5.8 has begun :) |
Posted on: 2017/2/1 23:40
#31 |
---|---|---|
Just can't stay away
![]() ![]() Joined:
2009/10/7 0:11 From Copenhagen
Posts: 1188
|
@alfkil
By the way, the linker issue has been solved. It is a simple matter of copying Quote:
to Quote:
Thanks! :) |
|
|
Re: Work on Qt 5.8 has begun :) |
Posted on: 2017/2/2 12:46
#32 |
---|---|---|
Just can't stay away
![]() ![]() Joined:
2009/10/7 0:11 From Copenhagen
Posts: 1188
|
Qt5 is configured and ready to build.
![]() :) |
|
|
Re: Work on Qt 5.8 has begun :) |
Posted on: 2017/2/2 13:37
#33 |
---|---|---|
Not too shy to talk
![]() ![]() Joined:
2006/12/5 22:11 From Lecco, Italy
Posts: 289
|
great :)
|
|
|
Re: Work on Qt 5.8 has begun :) |
Posted on: 2017/2/2 13:46
#34 |
---|---|---|
Just popping in
![]() ![]() Joined:
2016/3/10 14:15 From Poland
Posts: 20
|
@alfkil
We are waiting for: QupZilla :):) Cross-platform Qt web browser. https://github.com/QupZilla/qupzilla |
|
|
Re: Work on Qt 5.8 has begun :) |
Posted on: 2017/2/2 16:36
#35 |
---|---|---|
Home away from home
![]() ![]() Joined:
2007/9/11 11:31 From Russia
Posts: 4498
|
@alfkil
How easy was to go till that step, with knowing what you know from 4.7 porting time ? I mean was it easy enough second time in compare with how it was with 4.7 or everything was different ? |
|
|
Re: Work on Qt 5.8 has begun :) |
Posted on: 2017/2/2 18:44
#36 |
---|---|---|
Quite a regular
![]() ![]() Joined:
2009/3/10 10:51 From Germany
Posts: 618
|
@amig_os
AFAIK it is already ported: http://www.amigans.net/modules/xforum ... t_id=93197#forumpost93197 |
|
_________________
X1000|II/G4|440ep|2000/060|2000/040|1000 |
||
|
Re: Work on Qt 5.8 has begun :) |
Posted on: 2017/2/2 20:19
#37 |
---|---|---|
Just popping in
![]() ![]() Joined:
2016/3/10 14:15 From Poland
Posts: 20
|
@cha05e90
QupZilla ver. 1.4.4 for AmigaOS Qt 4.7.0 is very^2 old :( PS. QupZilla ver. =< 2.2 use OLD QtWebKit :( QupZilla ver. >= 2.2 use NEW QtWebEngine :) |
|
|
Re: Work on Qt 5.8 has begun :) |
Posted on: 2017/2/2 20:55
#38 |
---|---|---|
Not too shy to talk
![]() ![]() Joined:
2006/11/28 22:14 From Perugia, ITALY
Posts: 336
|
@Alfkill
Yo! |
|
_________________
Simone"Tuxedo"Monsignori, Perugia, ITALY. |
||
|
Re: Work on Qt 5.8 has begun :) |
Posted on: 2017/2/3 16:36
#39 |
---|---|---|
Just can't stay away
![]() ![]() Joined:
2009/10/7 0:11 From Copenhagen
Posts: 1188
|
@kas1e
It is very easy :). |
|
|
Re: Work on Qt 5.8 has begun :) |
Posted on: 2017/2/5 14:23
#40 |
---|---|---|
Just can't stay away
![]() ![]() Joined:
2009/10/7 0:11 From Copenhagen
Posts: 1188
|
What is the best way around changing calls to nanosleep() to something else on OS4?
|
|