truly
its quite strange as it doesnt even prompt for any error message.
anybody got any other idea??
truly
its quite strange as it doesnt even prompt for any error message.
anybody got any other idea??
There are 10 kinds of people in this world. Those who understand binary, and those who dont.
regards
shamik
I had a simmilar problem. It was caused by some errors in Qt library package I used. It was incompatible with KDE or something like that and caused X to crash. Did you update your Qt installation from a medium different than the original disk containing a stable release of the system?
this is the procedure what i've done so far
first of all i installed FC-6. I got the CDs for this from a reliable source and while installation nothing went wrong or no error message was shown. everything went fine.
then i tried to start the Qt designer from the GUI as well as from the shell by typing "designer"
anyways the X crashed and again the log-in screen appeared.
then i downloaded the Qt version 3.3.8 from the Trolltech's website and installed it in /usr/local/qt. folder as instructed in the install file.
when i try to run this newly and freshly installed Qt after going to /usr/local/qt/bin and typing "./designer" from the shell the same thing happens. i.e. X crashes and the log-in screen appears.
i've set up the library paths, and other environment variables as given in the install file
but still i cant find what is going wrong here.
![]()
There are 10 kinds of people in this world. Those who understand binary, and those who dont.
regards
shamik
Because the problem might not be in Qt itself but in combination of Qt and something else. Check your .xsession-errors (but do it before you log onto X again!!!) and /var/log/Xorg.0.log (before X starts-up again! You may need to disable the display manager first before crashing X if it respawns immediately) or simmilar for errors that happened just before the crash.
kindly please specify where are these files located like .xsessions-errors etc and please explain step by step procedure coz i dont know much about linux.
on some other machine i installed the donwloaded Qt 4.2.3 as instructed in the install file.
it got installed without any errors and i dint passed any parameters while configuring it
i.e just ./configure
then i set up the environment variables as my qt is installed in /usr/local/qt
but then whenever i try to run it from the shell by going to /usr/local/qt/bin and typing ./designer on the shell the following error occurs :
./designer:error while loading shared libraries:libQtDesignerComponents.so.4:cannot open shared object file: No such file or directory
i've checked for this file in /usr/local/qt/lib and it exists there.
when i type "set" the environment variables are also correct and are as follows :
QTDIR = /usr/local/qt
PWD = /usr/local/qt/bin
QTINC = /usr/local/qt/include
QTLIB = /usr/local/qt/lib
qt_prefix = /usr/local/qt
MANPATH = /usr/local/qt/doc
OLDPWD=/usr/local/qt/
now this time since the installation is on the different machine and i m installing a different version of Qt i.e. Qt4 the problem is different. but the old problem still persists and the solution of that too has to be found.
for the old problem kindly tell the procedure of checking the log files and error files and of disabling the display manager step by step.
and for the new problem please tell what to do regarding this shared file error eventhough it exists.
There are 10 kinds of people in this world. Those who understand binary, and those who dont.
regards
shamik
.xsession-errors is in logged in user's home directory.
This is caused by the fact that the linker doesn't look into /usr/local/qt/lib while resolving dependencies. Add that directory to /etc/ld.so.conf and run ldconfig (as root)../designer:error while loading shared libraries:libQtDesignerComponents.so.4:cannot open shared object file: No such file or directory
i've checked for this file in /usr/local/qt/lib and it exists there.
the old Qt problem is now solved finally.
the solution was quite simple. as it was not able to load the graphics i just changed the display settings of my screen and just decreased the screen resolution. it is now working fine.
another thing i want to ask is i want to do database connection with Qt for which i wish to use MySQL. But i dont know where is the driver. Is it already available with the version of Qt that i m using currently i.e. 3.3.6 which has come bydefault with FC-6 installation or wheather i have to download that driver from internet and compile it myself.
i supposed that the driver wouldbe in the directory /usr/lib/qt3.3/plugins. but it is not so.
please tell me how to do this database connection and where to find for the driver.
Last edited by shamik; 23rd April 2007 at 11:30.
There are 10 kinds of people in this world. Those who understand binary, and those who dont.
regards
shamik
You need to give it as a paremeter when you do configure, before you compile Qt.i supposed that the driver wouldbe in the directory /usr/lib/qt3.3/plugins. but it is not so.
do ./configure --help (at Qt source root) for the options possible.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
i dint installed Qt manually.
it is rather installed bydefault with FC-6 installation.
now how can i get it? do i have to recompile Qt again? if yes then how. the Qt installable source files are in the CDs of FC-6 and i think we cant extract it.
as told previously i have downloaded Qt4.2.3 from Trolltech's website. should i go for it instead of messing up with this?
There are 10 kinds of people in this world. Those who understand binary, and those who dont.
regards
shamik
in that case look in your package manager, you should be able to select and add various plugins and drivers, the sql among them.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
i cant open the package manager
whenever i try to click on Add/Remove Software the following error comes :
Unable to retrieve software information. This could be caused by not having a network connection available.
Details : cannot find a valid baseurl for repo: core
i dont know what does this mean.
There are 10 kinds of people in this world. Those who understand binary, and those who dont.
regards
shamik
Find a proper rpm from your installation medium then. It'll probably be called qt3-plugin-mysql or something like that.
Bookmarks