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

Thread: A problem with executing Qt 4.5.0

  1. #1
    Join Date
    Mar 2009
    Posts
    68
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default A problem with executing Qt 4.5.0

    Hi people
    for my first post here,I configured and made(with make command) Qt 4.5.0 on fedora core 4.but i don't know how to execute it.there is no icon or sth in desktop or in menus.
    could you help?
    thanks

  2. #2
    Join Date
    Mar 2007
    Location
    Germany
    Posts
    229
    Thanks
    2
    Thanked 29 Times in 28 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: A problem with executing Qt 4.5.0

    Apart from the "executables" in the bin directorie (e.g. designer or assistant) and the executables of the examples and demos, can Qt not be "executed".
    You can use the Qt library for building own applications (with or without GUI).

  3. #3
    Join Date
    Mar 2009
    Posts
    68
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: A problem with executing Qt 4.5.0

    Hey let me remind that it's not Qt's librarys its the whole Qt
    and if there is no difference,please tell how to use the librarys!
    thanks again

  4. #4
    Join Date
    Mar 2007
    Location
    Germany
    Posts
    229
    Thanks
    2
    Thanked 29 Times in 28 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: A problem with executing Qt 4.5.0

    I suggest you start the Qt Assistant and go through the Qt tutorials in the Qt Reference Documentation.
    That is a very good point to start.

    Quoting from the Qt Software web page:
    "Qt is a cross-platform application and UI framework. Using Qt, you can write applications once and deploy them across many desktop and embedded operating systems without rewriting the source code."

    So Qt is not a program like OpenOffice. It is a compilation of libraries, documentation and supporting tools for application development.

  5. #5
    Join Date
    Mar 2009
    Posts
    68
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: A problem with executing Qt 4.5.0

    So please tell me how to access those documentations.
    thanks

  6. #6
    Join Date
    May 2008
    Location
    Kyiv, Ukraine
    Posts
    418
    Thanks
    1
    Thanked 29 Times in 27 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: A problem with executing Qt 4.5.0

    Let's assume you have QTDIR environment variable that holds Qt's directory. (By the way what arguments did you use to configure Qt?)

    Then run $QTDIR/bin/assistant.
    I'm a rebel in the S.D.G.

  7. #7
    Join Date
    Mar 2009
    Posts
    68
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: A problem with executing Qt 4.5.0

    there was no such directory QTDIR.
    Try to be useful for your society,not important.
    ------------------------------------------------------
    Every thing that has a beginning,Has an end.

  8. #8
    Join Date
    May 2008
    Location
    Kyiv, Ukraine
    Posts
    418
    Thanks
    1
    Thanked 29 Times in 27 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: A problem with executing Qt 4.5.0

    What is the location of your Qt installation?
    I'm a rebel in the S.D.G.

  9. #9
    Join Date
    Mar 2009
    Posts
    68
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: A problem with executing Qt 4.5.0

    I just entered configure and make commands.nothing more.
    I think it must be in its default place.
    where is that?
    Try to be useful for your society,not important.
    ------------------------------------------------------
    Every thing that has a beginning,Has an end.

  10. #10
    Join Date
    May 2008
    Location
    Kyiv, Ukraine
    Posts
    418
    Thanks
    1
    Thanked 29 Times in 27 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: A problem with executing Qt 4.5.0

    Looks like /usr/local/Trolltech/Qt-4.5.0. Ok, there are two ways:
    1. run /usr/local/Trolltech/Qt-4.5.0/bin/assistant
    or
    2. add /usr/local/Trolltech/Qt-4.5.0/bin to your PATH environment variable
    add /usr/local/Trolltech/Qt-4.5.0/lib to your LD_LIBRARY_PATH environment variable
    run assistant

    Honestly, I would choose the 2nd way.
    I'm a rebel in the S.D.G.

  11. #11
    Join Date
    Mar 2009
    Posts
    68
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: A problem with executing Qt 4.5.0

    there were no Trolltech directory,too.
    Try to be useful for your society,not important.
    ------------------------------------------------------
    Every thing that has a beginning,Has an end.

  12. #12
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: A problem with executing Qt 4.5.0

    Where had you run the configure.exe from ? Which directory ?
    GO to that directory, and you will see a bin folder. Go inside that bin, and you will find assistant.exe, qtdemo.exe . Run them and follow the above posts.

  13. #13
    Join Date
    May 2008
    Location
    Kyiv, Ukraine
    Posts
    418
    Thanks
    1
    Thanked 29 Times in 27 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: A problem with executing Qt 4.5.0

    aamer4yu, he is on Linux, not Windows.
    I'm a rebel in the S.D.G.

  14. #14
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: A problem with executing Qt 4.5.0

    Sorry, I am alien to linux

  15. #15
    Join Date
    Mar 2009
    Posts
    68
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: A problem with executing Qt 4.5.0

    anyway I did it and i found some files of course not .exe files but assistant and designer and some other files were there.
    I double clicked one them but no answer.what should I do?
    thanks
    Try to be useful for your society,not important.
    ------------------------------------------------------
    Every thing that has a beginning,Has an end.

  16. #16
    Join Date
    Mar 2007
    Location
    Germany
    Posts
    229
    Thanks
    2
    Thanked 29 Times in 28 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: A problem with executing Qt 4.5.0

    Open a console window in your desktop environment (GNOME or KDE; doesn't matter), go to the directory in which you found these files, type in assistant, hit enter and see what happens.
    Maybe an error message is displayed. This message would be interesting.

  17. #17
    Join Date
    Mar 2009
    Posts
    68
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: A problem with executing Qt 4.5.0

    You know,in my linux there is a Qt designer 3.3 installed by default.so when i enter assistant or designer ,it will open the Qt 3.3 version of those programs.
    so i entered ./assistant but a error message came.i don't remember all of it but it had a
    no such file or directory
    or sth like this at the end of it.
    Try to be useful for your society,not important.
    ------------------------------------------------------
    Every thing that has a beginning,Has an end.

  18. #18
    Join Date
    Mar 2009
    Posts
    68
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: A problem with executing Qt 4.5.0

    I checked it again.
    the exact message is:
    ./assistant: error while loading shared libraries: libQtHelp.so.4: cannot open shared object file: No such file or directory
    Try to be useful for your society,not important.
    ------------------------------------------------------
    Every thing that has a beginning,Has an end.

  19. #19
    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: A problem with executing Qt 4.5.0

    I suggest you delete everything and start from scratch. Instead of trying to build Qt, which is obviously currently too difficult for you I suggest you use your distro's package manager to install Qt packages. Then you will be able to run assistant or assistant-qt4 without any additional work.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  20. #20
    Join Date
    Mar 2009
    Posts
    68
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: A problem with executing Qt 4.5.0

    And what should i do for that?
    Try to be useful for your society,not important.
    ------------------------------------------------------
    Every thing that has a beginning,Has an end.

Similar Threads

  1. Replies: 19
    Last Post: 3rd April 2009, 23:17
  2. Weird problem: multithread QT app kills my linux
    By Ishark in forum Qt Programming
    Replies: 2
    Last Post: 8th August 2008, 09:12
  3. Steps in solving a programming problem?
    By triperzonak in forum General Programming
    Replies: 8
    Last Post: 5th August 2008, 08:47
  4. Problem executing process
    By EricF in forum Qt Programming
    Replies: 4
    Last Post: 25th January 2008, 16:04
  5. Replies: 16
    Last Post: 7th March 2006, 15:57

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.