Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Behind the Scenes
  3. Qt.io webservices
  4. Error while building/deploying project 2dpainting (kit: Desktop Qt 5.0.2 GCC 64bit
Forum Updated to NodeBB v4.3 + New Features

Error while building/deploying project 2dpainting (kit: Desktop Qt 5.0.2 GCC 64bit

Scheduled Pinned Locked Moved Qt.io webservices
7 Posts 4 Posters 13.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Bittoo
    wrote on last edited by
    #1

    Hi All,
    I have installed Qt 5.0.2 on Ubuntu 13.04. While building i am getting this error

    @
    /usr/bin/ld: cannot find -lGL
    collect2: error: ld returned 1 exit status
    make: *** [2dpainting] Error 1
    13:07:06: The process "/usr/bin/make" exited with code 2.
    Error while building/deploying project 2dpainting (kit: Desktop Qt 5.0.2 GCC 64bit)
    When executing step 'Make'
    @

    even examples are also showing this error.

    Thanks
    Manoj kumar Panwar

    my Pro file is

    @
    QT += core gui

    greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

    TARGET = MSTheoreticalCalculation
    TEMPLATE = app

    SOURCES += main.cpp
    MSTheoreticalCalculationGUI.cpp

    HEADERS += MSTheoreticalCalculationGUI.h

    FORMS += MSTheoreticalCalculationGUI.ui
    @

    Regards,
    Manoj Kumar Panwar,

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Make sure you have all "dependencies":http://qt-project.org/wiki/Qt5_dependencies.

      (Z(:^

      1 Reply Last reply
      0
      • L Offline
        L Offline
        leon.anavi
        wrote on last edited by
        #3

        Seems like a linker problem due to missing library. Check the solutions proposed at "this Ubuntu thread":http://ubuntuforums.org/showthread.php?t=1480282.

        http://anavi.org/

        1 Reply Last reply
        0
        • B Offline
          B Offline
          Bittoo
          wrote on last edited by
          #4

          Thanks Sierdzio, Thanks Leon.anavi
          Solution given by Sierdzio works for me :)

          I am also getting this warning
          @(MSTheoreticalCalculation:6596): IBUS-WARNING **: The owner of /home/manoj/.config/ibus/bus is not root!@
          Will i ignore this and keep working or run Qt creator in "sudo" mode .

          Regards
          Manoj Kumar Panwar

          Regards,
          Manoj Kumar Panwar,

          1 Reply Last reply
          0
          • sierdzioS Offline
            sierdzioS Offline
            sierdzio
            Moderators
            wrote on last edited by
            #5

            Better remain in user space, don't run QtC as root.

            (Z(:^

            1 Reply Last reply
            0
            • T Offline
              T Offline
              tobias.hunger
              wrote on last edited by
              #6

              Bittoo: Ibus is some input method framework. So if you do use a normal US/european style keyboard you can most likely just ignore the issue.

              1 Reply Last reply
              0
              • B Offline
                B Offline
                Bittoo
                wrote on last edited by
                #7

                Hi All,
                Earlier i have installed Qt in sudo mode "sudo ./qt...". Later I reinstall it without sudo and it solved this issue.
                Thank you, Tobias Hunger for you help :).

                Regards,
                Manoj Kumar Panwar,

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved