Page 1 of 2 12 LastLast
Results 1 to 20 of 28

Thread: Cant open Qt Designer

  1. #1
    Join Date
    Sep 2006
    Posts
    102
    Thanks
    5
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Cant open Qt Designer

    hiii friends,


    i have just installed Fedora Core-6 on my pc. I think Qt3.3 comes with it bydefault.
    but whenever i try to start Qt designer from the Applications->Programming->Qt Designer,

    the system automatically logs off and then again i have to log-in.
    i cant understand what to do with it. i've also tried re-installing the entire OS but the same error persists.

    Please tell me what to do .

    There are 10 kinds of people in this world. Those who understand binary, and those who dont.

    regards
    shamik

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Cant open Qt Designer

    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.
    ==========================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.

  3. #3
    Join Date
    Sep 2006
    Posts
    102
    Thanks
    5
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Re: Cant open Qt Designer

    the installation medium is not bad
    its quite new.
    There are 10 kinds of people in this world. Those who understand binary, and those who dont.

    regards
    shamik

  4. #4
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default 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.
    ==========================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.

  5. #5
    Join Date
    Sep 2006
    Posts
    102
    Thanks
    5
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default 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.
    There are 10 kinds of people in this world. Those who understand binary, and those who dont.

    regards
    shamik

  6. #6
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Cant open Qt Designer

    Strange indeed.
    ==========================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.

  7. #7
    Join Date
    Sep 2006
    Posts
    102
    Thanks
    5
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Re: Cant open Qt Designer

    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

  8. #8
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default 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?

  9. #9
    Join Date
    Sep 2006
    Posts
    102
    Thanks
    5
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default 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.

    There are 10 kinds of people in this world. Those who understand binary, and those who dont.

    regards
    shamik

  10. #10
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default 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.

  11. #11
    Join Date
    Sep 2006
    Posts
    102
    Thanks
    5
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default 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.
    There are 10 kinds of people in this world. Those who understand binary, and those who dont.

    regards
    shamik

  12. #12
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Cant open Qt Designer

    .xsession-errors is in logged in user's home directory.
    ./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).

  13. #13
    Join Date
    Sep 2006
    Posts
    102
    Thanks
    5
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default 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.
    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

  14. #14
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Cant open Qt Designer

    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.
    ==========================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.

  15. #15
    Join Date
    Sep 2006
    Posts
    102
    Thanks
    5
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default 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?
    There are 10 kinds of people in this world. Those who understand binary, and those who dont.

    regards
    shamik

  16. #16
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default 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.
    ==========================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.

  17. #17
    Join Date
    Sep 2006
    Posts
    102
    Thanks
    5
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default 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.
    There are 10 kinds of people in this world. Those who understand binary, and those who dont.

    regards
    shamik

  18. #18
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default 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.

  19. #19
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Cant open Qt Designer

    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.
    ==========================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.

  20. #20
    Join Date
    Sep 2006
    Posts
    102
    Thanks
    5
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default 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??
    There are 10 kinds of people in this world. Those who understand binary, and those who dont.

    regards
    shamik

Similar Threads

  1. Replies: 3
    Last Post: 7th October 2015, 20:43
  2. Replies: 13
    Last Post: 15th December 2006, 12:52
  3. Is there designer for Qt4.2 open source
    By nimmyj in forum Newbie
    Replies: 1
    Last Post: 6th December 2006, 06:52
  4. Designer crashes when selecting some widgets
    By gwendal in forum Qt Tools
    Replies: 4
    Last Post: 21st July 2006, 14:18
  5. Adding slots in Designer
    By jamos in forum Qt Tools
    Replies: 5
    Last Post: 19th May 2006, 00:28

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.