QtNX Windows Alpha Release
Posted by George Wright Tue, 05 Feb 2008 08:34:00 GMT
I’ve been working hard overnight and I am now finally in a position to release a zip of QtNX for Windows. Please note that this is very alpha quality, but it works here and I’d appreciate feedback of any kind about it.
Known bugs include QtNX not working unless being set to Windows 2000 compatibility mode, NX windows not being resizeable and there’s also a really annoying terminal window that pops up when loading.
If anyone knows any solutions to these problems (the terminal one is really annoying!) then please get in touch!
I’ve uploaded the zip of it to my server (8.1MB, md5sum is c4d948cc1ca13bb888ba6496b2eb1eac).

I’m not sure how Qt affects it, but when you’re doing WinAPI stuff, you need your “main” to be called “WinMain” or you’ll get that terminal window. This may or may not help - hope it does!
Ryan
..or /SUBSYSTEM:WINDOWS can be used instead of or use /SUBSYSTEM:CONSOLE (msvc) or something like -Wl,–subsystem,windows for mingw.
qmake’s lflags could be also set to get that subsystem.
First of all - great work, George!
Problem: The QtNX client hangs after a few seconds on WinXP SP2. Any debug version I can try?
The hanging after a few seconds is fixed by setting the compatibility mode for QtNX to “Windows 2000”.
For those who are wondering, I fixed the terminal issue by running:
editbin /subsystem:windows qtnx.exe
From the MS Visual Studio command prompt.
Dunno if you use qmake, but if you have CONFIG += console in your pro file it will bring up the terminal, otherwise it won’t/shouldn’t.
hi george,
i’ve try but it show error in xp sp 2 NX> 105 Starting NX proxy Process started Process started Process started stdin> bye
stdout> Bye
stdout> NX> 999 Bye.
stdin> NX> 299 Switch connection to: 127.0.0.1:5053 cookie: 725E0DC4BD09069D845935E24A974921
stderr> NX> 285 Identified host: 127.0.0.1 port: 5053 NX> 285 Identified cookie: 725E0DC4BD09069D845935E24A974921
NX> 291 Connecting to: 127.0.0.1:5053
Process exited