Results 1 to 20 of 28

Thread: Cant open Qt Designer

Hybrid View

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

    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

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    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?

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

    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

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    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.

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

    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

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    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).

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

    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

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

    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.

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

    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

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

    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.

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

    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

  12. #12
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    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.

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
  •  
Qt is a trademark of The Qt Company.