Results 1 to 8 of 8

Thread: Facing problem for Hello world

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2015
    Posts
    4
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Facing problem for Hello world

    Hi thanks
    I am using ubuntu and qt 5.5 version.

  2. #2
    Join Date
    Oct 2015
    Posts
    4
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Facing problem for Hello world

    Hi again,
    After long time again i m trying the same. While compiling i got following error.
    Qt Code:
    1. 08:19:09: Running steps for project test...
    2. 08:19:09: Configuration unchanged, skipping qmake step.
    3. 08:19:09: Starting: "/usr/bin/make"
    4. g++ -m32 -Wl,-rpath,/home/saag/Qt5.5.0/5.5/gcc -Wl,-rpath,/home/saag/Qt5.5.0/5.5/gcc/lib -o test main.o mainwindow.o moc_mainwindow.o -L/home/saag/Qt5.5.0/5.5/gcc/lib -lQt5Widgets -lQt5Gui -lQt5Core -lGL -lpthread
    5. /usr/bin/ld: cannot find -lGL
    6. collect2: error: ld returned 1 exit status
    7. make: *** [test] Error 1
    8. 08:19:10: The process "/usr/bin/make" exited with code 2.
    9. Error while building/deploying project test (kit: Desktop Qt 5.5.0 GCC 32bit)
    10. When executing step "Make"
    11. 08:19:10: Elapsed time: 00:01.
    To copy to clipboard, switch view to plain text mode 

    I m using ubuntu 14.04. I have attached qt version screen shot(bcoz there two versions has been mentioned.)

    I have attched project too.
    Plz help with this.
    Attached Images Attached Images
    Attached Files Attached Files

  3. #3
    Join Date
    Apr 2013
    Location
    Prague
    Posts
    258
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    3
    Thanked 65 Times in 59 Posts

    Default Re: Facing problem for Hello world

    All your posts point to the same error. As ChrisW67 has already noted, libGL.so (in Linux) has not been found, at least, in the places where it was searched. Run your file manager and search libGL.so . If you found one, check whether it is (or a link to it is) in the "standard places" for Qt. In Debian, I have found links to libGL.so and libGL.so.1 in /usr/lib/x86_64-linux-gnu/ .

Similar Threads

  1. Facing problem in installing QT.5.2.0
    By gunturrohith in forum Installation and Deployment
    Replies: 0
    Last Post: 3rd December 2014, 07:29
  2. I am facing a problem please help me !
    By sujan.dasmahapatra in forum General Programming
    Replies: 3
    Last Post: 16th September 2009, 15:12
  3. i am facing a problem with QTextEdit!!!
    By mismael85 in forum Qt Programming
    Replies: 9
    Last Post: 10th March 2008, 19:06
  4. Facing problem with Q3Canvas
    By jnana in forum Qt Programming
    Replies: 3
    Last Post: 6th May 2006, 08:00
  5. Facing problem with qt-4.1 designer
    By jnana in forum Qt Tools
    Replies: 4
    Last Post: 8th March 2006, 19:16

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.