port Qt4.8/QtWebKit to NT4

Any off topic discussions should go in this forum. Post count is not increased by posting here.
FTP Access status is required to post in this forum. Find out how to get it
Forum rules
Any off topic discussions should go in this forum. Post count is not increased by posting here.
FTP Access status is required to post in this forum. Find out how to get it
Post Reply
roytam1
FTP Access
Posts: 668
Joined: Mon Nov 03, 2008 6:15 am

port Qt4.8/QtWebKit to NT4

Post by roytam1 »

I cleared all non existent imports from Qt-4.8 and QtWebKit-2.3.1, it works but the text overlaps each other.

Image

I wonder which functions handles text rendering?
Last edited by roytam1 on Sat Jun 22, 2013 9:48 am, edited 1 time in total.

roytam1
FTP Access
Posts: 668
Joined: Mon Nov 03, 2008 6:15 am

Re: port Qt4.8/QtWebKit to NT4?

Post by roytam1 »

With some more fix in Qt side, Qt demo browser works quite good. (Since there is no Font-Linking in English version of NT 4.0, a user-style has to be applied for CJK characters)
Image

Binary: http://rthost.fam.cx/cndos-up/img/2103.zip (requires imm32.dll and shlwapi.dll)
Last edited by roytam1 on Tue Jul 29, 2014 2:54 pm, edited 2 times in total.

jimmsta
Donator
Posts: 816
Joined: Sat Sep 09, 2006 6:43 am

Re: port Qt4.8/QtWebKit to NT4

Post by jimmsta »

That's quite impressive to see working. Nice work!
Need disks scanned in the USA? I have a Kryoflux, and am willing to help get your disks archived! I also offer xbox and xbox 360 repair and modding services. PM me for details!

Windows XP
FTP Access
Posts: 512
Joined: Mon Dec 20, 2010 12:13 pm
Location: U.K.

Re: port Qt4.8/QtWebKit to NT4

Post by Windows XP »

That's actually pretty interesting. Hope to see more progress on this. (I like seeing new pages run on old software ^^ )
Inactive. I also don't have anything ROBLOX-related, anymore. Please don't ask.

roytam1
FTP Access
Posts: 668
Joined: Mon Nov 03, 2008 6:15 am

Re: port Qt4.8/QtWebKit to NT4

Post by roytam1 »

Windows XP wrote:That's actually pretty interesting. Hope to see more progress on this. (I like seeing new pages run on old software ^^ )
Current bugs:
- it eats whole CPU, thread stack trace doesn't show anything useful
- it requires SSE instructions

roytam1
FTP Access
Posts: 668
Joined: Mon Nov 03, 2008 6:15 am

Re: port Qt4.8/QtWebKit to NT4

Post by roytam1 »

CPU issue fixed.

A QtWeb build is available in qtweb's issue tracker:
http://code.google.com/p/qtweb/issues/detail?id=182#c2

roytam1
FTP Access
Posts: 668
Joined: Mon Nov 03, 2008 6:15 am

Re: port Qt4.8/QtWebKit to NT4

Post by roytam1 »

BTW porting Qt to NT 3.51 seems to be impossible.

Qt 4.8 demo browser:

Code: Select all

     [ E ] KERNEL32.DLL
          [CE ]            N/A    0 (0x0000)  FindFirstFileExW                                 Not Bound
          [CE ]            N/A    0 (0x0000)  SwitchToThread                                   Not Bound
          [CE ]            N/A    0 (0x0000)  GetFileAttributesExW                             Not Bound
          [CE ]            N/A    0 (0x0000)  InterlockedCompareExchange                       Not Bound
          [CE ]            N/A    0 (0x0000)  TryEnterCriticalSection                          Not Bound
     [ E ] ADVAPI32.DLL
          [CE ]            N/A    0 (0x0000)  CryptReleaseContext                            Not Bound
          [CE ]            N/A    0 (0x0000)  CryptGenRandom                                 Not Bound
          [CE ]            N/A    0 (0x0000)  CryptAcquireContextW                           Not Bound
          [CE ]            N/A    0 (0x0000)  CryptDestroyKey                                Not Bound
          [CE ]            N/A    0 (0x0000)  CryptSignHashA                                 Not Bound
          [CE ]            N/A    0 (0x0000)  CryptDestroyHash                               Not Bound
          [CE ]            N/A    0 (0x0000)  CryptSetHashParam                              Not Bound
          [CE ]            N/A    0 (0x0000)  CryptCreateHash                                Not Bound
          [CE ]            N/A    0 (0x0000)  CryptDecrypt                                   Not Bound
     [ ? ] CRYPT32.DLL
          [CE ]       N/A  0 (0x0000)  CertFreeCertificateContext  Not Bound
     [ ? ] SHLWAPI.DLL
          [CE ]       N/A  0 (0x0000)  PathRemoveFileSpecW  Not Bound
          [CE ]       N/A  0 (0x0000)  PathCombineW         Not Bound
          [CE ]       N/A  0 (0x0000)  SHGetValueW          Not Bound
     [ E ] USER32.DLL
          [CE ]            N/A    0 (0x0000)  MsgWaitForMultipleObjectsEx    Not Bound
     [ ? ] WS2_32.DLL
          [OE ]     2 (0x0002)         N/A  N/A          Not Bound
          [OE ]     3 (0x0003)         N/A  N/A          Not Bound
          [OE ]     5 (0x0005)         N/A  N/A          Not Bound
          [OE ]     6 (0x0006)         N/A  N/A          Not Bound
          [OE ]     7 (0x0007)         N/A  N/A          Not Bound
          [OE ]     8 (0x0008)         N/A  N/A          Not Bound
          [OE ]    11 (0x000B)         N/A  N/A          Not Bound
          [OE ]    13 (0x000D)         N/A  N/A          Not Bound
          [OE ]    14 (0x000E)         N/A  N/A          Not Bound
          [OE ]    16 (0x0010)         N/A  N/A          Not Bound
          [OE ]    18 (0x0012)         N/A  N/A          Not Bound
          [OE ]    19 (0x0013)         N/A  N/A          Not Bound
          [OE ]    21 (0x0015)         N/A  N/A          Not Bound
          [OE ]    22 (0x0016)         N/A  N/A          Not Bound
          [OE ]    51 (0x0033)         N/A  N/A          Not Bound
          [OE ]    52 (0x0034)         N/A  N/A          Not Bound
          [OE ]   101 (0x0065)         N/A  N/A          Not Bound
          [OE ]   111 (0x006F)         N/A  N/A          Not Bound
          [OE ]   112 (0x0070)         N/A  N/A          Not Bound
          [OE ]   115 (0x0073)         N/A  N/A          Not Bound
          [OE ]   116 (0x0074)         N/A  N/A          Not Bound
          [OE ]   151 (0x0097)         N/A  N/A          Not Bound
          [CE ]            N/A  0 (0x0000)  WSAConnect   Not Bound
          [CE ]            N/A  0 (0x0000)  WSAHtons     Not Bound
          [CE ]            N/A  0 (0x0000)  WSARecvFrom  Not Bound
          [CE ]            N/A  0 (0x0000)  WSARecv      Not Bound
          [CE ]            N/A  0 (0x0000)  WSASendTo    Not Bound
          [CE ]            N/A  0 (0x0000)  WSAAccept    Not Bound
          [CE ]            N/A  0 (0x0000)  WSANtohs     Not Bound
          [CE ]            N/A  0 (0x0000)  WSANtohl     Not Bound
          [CE ]            N/A  0 (0x0000)  WSASocketW   Not Bound
          [CE ]            N/A  0 (0x0000)  WSASend      Not Bound
          [CE ]            N/A  0 (0x0000)  WSAIoctl     Not Bound
          [CE ]            N/A  0 (0x0000)  WSAHtonl     Not Bound
Qt 4.5 demo browser:

Code: Select all

     [ E ] USER32.DLL
          [CE ]            N/A  519 (0x0207)  MsgWaitForMultipleObjectsEx    Not Bound
     [ E ] ADVAPI32.DLL
          [CE ]            N/A  175 (0x00AF)  CryptCreateHash                                Not Bound
          [CE ]            N/A  176 (0x00B0)  CryptDecrypt                                   Not Bound
          [CE ]            N/A  178 (0x00B2)  CryptDestroyHash                               Not Bound
          [CE ]            N/A  179 (0x00B3)  CryptDestroyKey                                Not Bound
          [CE ]            N/A  199 (0x00C7)  CryptReleaseContext                            Not Bound
          [CE ]            N/A  200 (0x00C8)  CryptSetHashParam                              Not Bound
          [CE ]            N/A  207 (0x00CF)  CryptSignHashA                                 Not Bound
     [ ? ] SHLWAPI.DLL
          [CE ]       N/A   58 (0x003A)  PathCombineW         Not Bound
          [CE ]       N/A  139 (0x008B)  PathRemoveFileSpecW  Not Bound
          [CE ]       N/A  193 (0x00C1)  SHGetValueW          Not Bound
     [ ? ] WS2_32.DLL
          [OE ]     2 (0x0002)          N/A  N/A          Not Bound
          [OE ]     3 (0x0003)          N/A  N/A          Not Bound
          [OE ]     5 (0x0005)          N/A  N/A          Not Bound
          [OE ]     6 (0x0006)          N/A  N/A          Not Bound
          [OE ]     7 (0x0007)          N/A  N/A          Not Bound
          [OE ]     8 (0x0008)          N/A  N/A          Not Bound
          [OE ]    11 (0x000B)          N/A  N/A          Not Bound
          [OE ]    13 (0x000D)          N/A  N/A          Not Bound
          [OE ]    14 (0x000E)          N/A  N/A          Not Bound
          [OE ]    16 (0x0010)          N/A  N/A          Not Bound
          [OE ]    18 (0x0012)          N/A  N/A          Not Bound
          [OE ]    19 (0x0013)          N/A  N/A          Not Bound
          [OE ]    21 (0x0015)          N/A  N/A          Not Bound
          [OE ]    22 (0x0016)          N/A  N/A          Not Bound
          [OE ]    51 (0x0033)          N/A  N/A          Not Bound
          [OE ]    52 (0x0034)          N/A  N/A          Not Bound
          [OE ]   101 (0x0065)          N/A  N/A          Not Bound
          [OE ]   111 (0x006F)          N/A  N/A          Not Bound
          [OE ]   112 (0x0070)          N/A  N/A          Not Bound
          [OE ]   115 (0x0073)          N/A  N/A          Not Bound
          [OE ]   116 (0x0074)          N/A  N/A          Not Bound
          [OE ]   151 (0x0097)          N/A  N/A          Not Bound
          [CE ]            N/A  13 (0x000D)  WSAAccept    Not Bound
          [CE ]            N/A  28 (0x001C)  WSAConnect   Not Bound
          [CE ]            N/A  50 (0x0032)  WSAHtonl     Not Bound
          [CE ]            N/A  51 (0x0033)  WSAHtons     Not Bound
          [CE ]            N/A  54 (0x0036)  WSAIoctl     Not Bound
          [CE ]            N/A  63 (0x003F)  WSANtohl     Not Bound
          [CE ]            N/A  64 (0x0040)  WSANtohs     Not Bound
          [CE ]            N/A  68 (0x0044)  WSARecv      Not Bound
          [CE ]            N/A  70 (0x0046)  WSARecvFrom  Not Bound
          [CE ]            N/A  73 (0x0049)  WSASend      Not Bound
          [CE ]            N/A  76 (0x004C)  WSASendTo    Not Bound
          [CE ]            N/A  83 (0x0053)  WSASocketW   Not Bound
     [ E ] KERNEL32.DLL
          [CE ]            N/A  351 (0x015F)  GetFileAttributesExA                             Not Bound
          [CE ]            N/A  352 (0x0160)  GetFileAttributesExW                             Not Bound
     [ ? ] CRYPT32.DLL
          [CE ]       N/A  63 (0x003F)  CertFreeCertificateContext  Not Bound

3155ffGd
User avatar
FTP Access
Posts: 391
Joined: Wed May 02, 2012 12:57 am

Re: port Qt4.8/QtWebKit to NT4

Post by 3155ffGd »

It should be possible to modify the source to get rid of some of the dependencies. ws2_32.dll on the other hand is not a problem - that file is called wsock32.dll on NT 3.51, just copy that file and it should work normally.

roytam1
FTP Access
Posts: 668
Joined: Mon Nov 03, 2008 6:15 am

Re: port Qt4.8/QtWebKit to NT4

Post by roytam1 »

3155ffGd wrote:It should be possible to modify the source to get rid of some of the dependencies. ws2_32.dll on the other hand is not a problem - that file is called wsock32.dll on NT 3.51, just copy that file and it should work normally.
actually it doesn't, there is winsock2 specified API.
so I won't link to wsock32.dll.

Post Reply