Results 1 to 5 of 5

Thread: Annoying problem with Qt 4.6.3 on Ubuntu 10.04

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2009
    Posts
    14
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Angry Annoying problem with Qt 4.6.3 on Ubuntu 10.04

    Hi all

    I am facing the following annoying error while trying to compile any qt project on Ubuntu 10.04

    skipping incompatible /opt/qtsdk-2010.04/qt/lib/libQtGui.so when searching for -lQtGui

    Im facing the same problem even after fresh Ubuntu 10.04 installation. Installed qt 4.6.3 for Linux 32bit successfully, but unable to compile any code with qt 4.6.3. I haven't added any library path as such.

    Please suggest a complete solution as I am quite new to Linux environment.

    Thanks in advance,
    Srikanth

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Annoying problem with Qt 4.6.3 on Ubuntu 10.04

    Well, are you sure you installed Ubuntu for 32bit? Maybe you have installed Ubuntu for 64 bit and then you also need the Qt binaries for 64. Please make sure you have the right version downloaded!

    I use Kubuntu 32bit with the last 4.6.3 without problems.

  3. #3
    Join Date
    Jun 2009
    Posts
    14
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Annoying problem with Qt 4.6.3 on Ubuntu 10.04

    Quote Originally Posted by Lykurg View Post
    Well, are you sure you installed Ubuntu for 32bit? Maybe you have installed Ubuntu for 64 bit and then you also need the Qt binaries for 64. Please make sure you have the right version downloaded!

    I use Kubuntu 32bit with the last 4.6.3 without problems.
    I installed ubuntu 10.04 using wubi installer from windows. Moreover my system is a 32 bit intel machine, so I guess its a Ubuntu 32 bit version installed. Anyways how can I verify whether my ubuntu version is 32 bit or 64 bit ?

    Thanks for your reply, Lykurg

    - Srikanth

  4. #4
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Annoying problem with Qt 4.6.3 on Ubuntu 10.04

    right now I an not on my Linux box and I can't remember the command for 100%. If you have a fast Internet connection, simply download the 64 version of Qt, install that and try. But I look the command up later that day.

  5. #5
    Join Date
    Jun 2009
    Posts
    14
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default [SOLVED]Re: Annoying problem with Qt 4.6.3 on Ubuntu 10.04

    Lykurg,
    To check 32 or 64 bit version of linux "file /sbin/init" should be the command. I found that the installed version is 64 bit ubuntu . I installed it through wubi installer from windows which created a proper partition and installed ubuntu in it. To my surprise it installed 64 bit version though my machine is a 32 bit processor.
    Anyways I installed Qt SDK 64 bit version and everything works fine. Thanks a lot for your help.

    - Srikanth

Similar Threads

  1. How to turn off this annoying feature of QColumnView?
    By jwieland in forum Qt Programming
    Replies: 11
    Last Post: 3rd September 2010, 17:38
  2. Replies: 2
    Last Post: 29th June 2010, 18:36
  3. Qt Creator Problem with Ubuntu 10.04
    By Hany in forum Qt Tools
    Replies: 1
    Last Post: 8th June 2010, 12:26
  4. a annoying problem about QTextCursor
    By kaos33 in forum Qt Programming
    Replies: 1
    Last Post: 31st August 2006, 05:00

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.