Re: Cant open Qt Designer
Quote:
the system automatically logs off and then again i have to log-in.
This should not happen, no matter what.
You have a problem with your system.
The fact it behaves the same after a second intallation might point to a bad installtion medium.
Re: Cant open Qt Designer
the installation medium is not bad
its quite new.
Re: Cant open Qt Designer
I doesn't have to be the disk it self, it could be a CRC error on it - specially if you burnt it your self.
Did you checksum it?
In any case, the system should not logout simply because you started and application, even if the application crashes.
Re: Cant open Qt Designer
actually i bought the CDs from trusted people
and i dont think there would be any CRC error as the intallation went on smoothly. if there would have been any such mistake in checksum then the installation would have prompted with it. but its not the case.
Re: Cant open Qt Designer
Re: Cant open Qt Designer
truly
its quite strange as it doesnt even prompt for any error message.
anybody got any other idea??
Re: Cant open Qt Designer
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?
Re: Cant open Qt Designer
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.
:(
Re: Cant open Qt Designer
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.
Re: Cant open Qt Designer
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.
Re: Cant open Qt Designer
.xsession-errors is in logged in user's home directory.
Quote:
./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.
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).
Re: Cant open Qt Designer
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.
Re: Cant open Qt Designer
Quote:
i supposed that the driver wouldbe in the directory /usr/lib/qt3.3/plugins. but it is not so.
You need to give it as a paremeter when you do configure, before you compile Qt.
do ./configure --help (at Qt source root) for the options possible.
Re: Cant open Qt Designer
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?
Re: Cant open Qt Designer
in that case look in your package manager, you should be able to select and add various plugins and drivers, the sql among them.
Re: Cant open Qt Designer
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.
Re: Cant open Qt Designer
Find a proper rpm from your installation medium then. It'll probably be called qt3-plugin-mysql or something like that.
Re: Cant open Qt Designer
Quote:
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
Your package manger is not configured.
You should configure it (tell it where the spository is) - this is a package manager specific question /Fedora specific.
Try and see if you have any configuration/preferences or similar menu options in your package manager GUI front end, and see what comes up.
Re: Cant open Qt Designer
i have found following rpms from the installation media but i dont know which are of use so i m listing out all of them :
qt-3.3.6-13.i386.rpm
qt-config-3.3.6-13.i386.rpm
qt-designer-3.3.6-13.i386.rpm
qt-devel-3.3.6-13.i386.rpm
qt-devel-docs-3.3.6-13.i386.rpm
qt-MySQL-3.3.6-13.i386.rpm
qt-ODBC-3.3.6-13.i386.rpm
sqlite-devel-3.3.6-2.i386.rpm
mysql 5.0.22-2.1.i386.rpm
mysqlclient10-3.23.58-9.2.1.i386.rpm
mysqlclient10-devel-3.23.58-9.21.i386.rpm
mysqlclient14-devel-4.1.14-4.2.1.i386.rpm
mysqlConnector odbc-3.51.12.2.2.i386.rpm
mysql-devel-5.0.22-2.1.i386.rpm
mysql-server-5.0.22-2.1.i386.rpm
mysql-test-5.0.22-2.1.i386.rpm
these are the rpms i've found so far.
tell me now what to do with these??