I have a nc QNX 6.2.1. and I have installed X free 86 and X photon and QT3 from sourceforge.net (tar archives)
I have set the QT environmentvariables in my .profiles
When I start designer or assistant I get the error message ‘Locales not supported on X server’ and I cannot spawn to help from designer e.g. . Other X-Appplications make no problems, but QT seems a little bit unstable - but this is a minor problem.
I can make the hello world qt-application by hand and it runs perfectly. But if I try to use qmake to generate my makefile, following errormessages are displayed and nothing happens:
unknown symbol: getgrgid
unknown symbol: getpwuid
Could not resolve all symbols
Thanks in advance.
Here is my uname -a
QNX default 6.2.0 2002/05/21-12:17:24edt x86pc x86
Here is my .profile:
default .profile
if test “$(tty)” != “not a tty”; then
echo ‘edit the file .profile if you want to change your environment.’
echo ‘To start the Photon windowing environment, type “ph”.’
fi
export ABLANG=cat $HOME/.ph/.ABLANG
This is my QT version: nqt-x11-free-3.1.2-qnx6-bin.tar.gz
and I will try LC_ALL …
Can it be a X problem. Does QT also run on X-Photon? I have installed xf86-4301-qnx6-bin.tar.gz and xphoton.4.3.src.tar.gz from sourceforce. There were some error(?) messages when untaring xf86. But e.g. ddd and xpdf make are running well ?!
Well, in the original post, you said QNX 6.2.1, but here it shows QNX 6.2.0. I am confused. This could be the root cause of all your problems. If you are sure you used the QNX 6.2.1 CD for the installation, it could be because you haven’t “finished” your installation. Stick your CD back into the drive again, and click the GUI “Installer”, choose to install “QNX Momentics for x86”.
change the LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH line to
LD_LIBRARY_PATH=/usr/X11R6/lib:$QTDIR/lib:$LD_LIBRARY_PATH
Oh pardon - it was my fault. Indeed it was the 6.2.0 NC which is installed in a FAT32 guest partition. So this is OK.
I have only GUI problems with QT applications (e.g. designer). The mouse does not work on the right side of the window and sometimes the application and XPhoton are termintaed with ‘fatal IO error’ of the X client (designer) when clicking on frame borders (e.g.). Any idea?
Not really OK.
The XPhoton, XFree86 4.3, qt3 were all compiled with QNX 6.2.1. It may or may not work on older versions such as QNX 6.2.0 that you are using.
I have already 6.2.1 NC on a CD. On my FAT32 6.2.0 I have already installed so much SW with much time and efforts, so can I put in the 6.2.1 CD and make an upgrade somehow without loosing data or programs ?
The repository shows two entries:
QNX installer for Neutrino
QNX updater for Neutrino
I think you can “upgrade” your 6.2.0 to 6.2.1.
first, install both “QNX installer for Neutrino” and “QNX updater for Neutrino”.
then, restart the installer and you should see “more” stuff on the CD. Choose to install “QNX Momentics for x86”. Reboot the system once that’s done, and “uname -a” should show you are in QNX 6.2.1
QNX is great! Updating the QS can be so easy - BUT - now it looks like I am finally doomed… My FAT QNX partition is too small (only 90 MB free and 180 MB required) although there is much space on the FAT partition free (some gigabytes). I think the program is dinit32.exe under windows or so? Can I raise the size of my QNX file somehow without destroying data afterwards from windows or qnx (dinit -S?)?
I have done everthing I can and run qnx 6.2.1 now.
Qt3 still does not work. The problem similar on almost all qt applications:
When starting - e.g. assistant - error messages appear on the console like
QSettings::writeEntry: Invalid key: ’ …
QSettings::readEntry: Invalid key: ’ …
and no settings can be saved (e.g. browser app). Designer does not work at all - also with many error messages on startup.
Now after all I really have no idea what is wrong, for I use the coorect versions and made my entries in the .profile. The set command shows all values correctly.
Last I checked, I worked for me. Something must be wrong on your system. Please post “uname -a”, “env”, “ls -l /lib”, “which -al assistant”, “ls -l /usr/X11R6/qt3/lib”.
also, before you run “assistant”, do a “export DL_DEBUG=1” and it should make your “assistant” print out some more debugs. Post them here…
I don’t have access to a QNX 6.2.1 box right now, and can’t verify everything you posted, but
You have both qt 3.2.1 and 3.1.2 mixed on your system. Please remove them
rm -rf /usr/X11R6/qt3 and then JUST download 3.1.2 from sf.net/projects/openqnx and install it.
Modify your LD_LIBRARY_PATH in your .profile so that /usr/X11R6/lib is at the top:
export LD_LIBRARY_PATH=/usr/X11R6/lib:/usr/X11R6/qt3/lib:$LD_LIBRARY_PATH
Modify your PATH in your .profile so that /usr/X11R6/bin is at the top:
export PATH=/usr/X11R6/bin:/usr/X11R6/qt3/bin:$PATH
I have made only few tests until now and here are the results:
qmake, uic
starting without error messages - showing usage correctly
assistant, designer
starting without error messages and saving configuration correctly
You are right - I tried 3.2.1 first (why not?) and had the problem with the error messages - then I tried 3.1.2 without removing 3.2.1. hoping all needed files are overwritten …
and then vice versa because I still have the problem with the mouse not working proper on the right big window’s sides in qt (I have to squeeze windows). Dragging objects in designer is making traces. Sometimes designer terminates itsself and XPhoton altogether (rare) - I am using XPhoton - not X.
I think this is a problem with X, although xpdf or ddd are absolutely ok. I cannot configure X (X -configure)to autodetect devices - the computer hangs up completely and the configuration file is incomplete.
I have untared xf86-4301-qnx6-bin.tar.gz and xphoton.4.3.src.tar.gz
any ideas ???
But now at least I can play a little bit with qt! It is much better now
I agree with you that your remaing qt issues may be related to XPhoton.
As for configuring a real X, you should be able to, as root, run /usr/X11R6/bin/X -configure, as you already know. If it hangs, maybe your graphics card is not supported in that version of X.