Results 1 to 11 of 11

Thread: problem Qt installing in Linux

  1. #1
    Join Date
    May 2009
    Posts
    129

    Default problem Qt installing in Linux

    Hi All

    I installed Qt in liux platfrom

    When i tried to run sample application,i got error message like

    No valid Qt version set. Set one in Tools/Options?


    By default Qt is installed in opt/qt sdk-2009-04

    I had gone through the tools /options/Qt versions . Then i set the path of Qt installation.. But it is showing opt/qt sdk-2009-04 is not a valid directory.

    Please help me

    Thanks

    Yuvaraj R

  2. #2
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Thanked 370 Times in 336 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: problem Qt installing in Linux

    try to add path to Qt in PATH variable.
    Qt Assistant -- rocks!
    please, use tags [CODE] & [/CODE].

  3. #3
    Join Date
    May 2009
    Posts
    129

    Default Re: problem Qt installing in Linux

    I have added

    see my path variables

    Qt Code:
    1. :/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin;opt/qtsdk-2009-04/bin;
    To copy to clipboard, switch view to plain text mode 


    In version control I am getting on more error
    Qt Code:
    1. unable to launch p4 " unkown error"
    To copy to clipboard, switch view to plain text mode 


    Do i need to install x11 ?

    Thanks

    Yuvaraj R

  4. #4
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Thanked 370 Times in 336 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: problem Qt installing in Linux

    is this path correct opt/qtsdk-2009-04/bin;?
    I think it should be /opt/qtsdk-2009-04/bin;
    if you're trying to run GUI app then you need X server.
    Qt Assistant -- rocks!
    please, use tags [CODE] & [/CODE].

  5. #5
    Join Date
    May 2009
    Posts
    129

    Default Re: problem Qt installing in Linux

    I changed the path variable .

    Still i amgetting same error. Can you provide me a download link for x server

    Thanks
    Yuvaraj R

  6. #6
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Thanked 370 Times in 336 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: problem Qt installing in Linux

    it should be on Linux distribution disk, you should install one of several desktop environment, for example KDE or GNOME.
    Qt Assistant -- rocks!
    please, use tags [CODE] & [/CODE].

  7. #7
    Join Date
    May 2009
    Posts
    129

    Default Re: problem Qt installing in Linux

    Hi All

    I have set the qt sdk path correctly

    Now i am getting new error

    Qt Code:
    1. Could not find make command: make in the build environment
    To copy to clipboard, switch view to plain text mode 

    Thanks

    Yuvaraj R

  8. #8
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Thanked 370 Times in 336 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: problem Qt installing in Linux

    did you install gcc?
    Qt Assistant -- rocks!
    please, use tags [CODE] & [/CODE].

  9. #9
    Join Date
    May 2009
    Posts
    129

    Default Re: problem Qt installing in Linux

    No

    I didn't install

    But Qt sdk i having gcc compiler , am i right.. Then why do we againg install the gcc compiler

    Thanks

    Yuvaraj R

  10. #10
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Thanked 370 Times in 336 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: problem Qt installing in Linux

    actually, Qt SDK for Linux doesn't contain any compiler.
    Qt Assistant -- rocks!
    please, use tags [CODE] & [/CODE].

  11. #11
    Join Date
    Jan 2008
    Posts
    107
    Thanks
    36
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: problem Qt installing in Linux

    What distro are you using?

    if you're using a YUM based distro this should sort you out:

    (as root)
    yum install gcc*

    BR,
    Pedro Doria Meunier

Similar Threads

  1. Static linking problem in Linux
    By daou in forum Qt Programming
    Replies: 1
    Last Post: 25th October 2009, 09:10
  2. problem installing QtWebKit and CutyCapt on Centos
    By gadelkareem in forum Installation and Deployment
    Replies: 0
    Last Post: 19th September 2009, 08:11
  3. Replies: 5
    Last Post: 15th January 2009, 09:03
  4. Problem installing Qt4.4 x11 on RHEL 4
    By ahmedb in forum Installation and Deployment
    Replies: 4
    Last Post: 14th December 2008, 11:29
  5. problem - printing in windows and linux
    By newplayer in forum Qt Programming
    Replies: 2
    Last Post: 8th July 2008, 20:22

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.