Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [SOLVED] Problem with building Qt5 beta for arm
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Problem with building Qt5 beta for arm

Scheduled Pinned Locked Moved Installation and Deployment
6 Posts 3 Posters 5.8k 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.
  • D Offline
    D Offline
    Doborin
    wrote on last edited by
    #1

    Hi,

    That’s my configure:
    ./configure -opensource -confirm-license -no-opengl -xplatform linux-arm-gnueabi-g++

    I get the error:
    arm-none-linux-gnueabi-g++ -Wl,--no-undefined -Wl,-O1 -Wl,-rpath-link,/home/user/Qt/qt-everywhere-opensource-src-5
    /........................................
    .........................................
    ........................................./
    .obj/release-shared/moc_qgraphicseffect.o .obj/release-shared/moc_qgraphicseffect_p.o .obj/release-shared/moc_qpixmapfilter_p.o -L/home/user/Qt/qt-everywhere-opensource-src-5.0.0/qtbase/lib -lQtGui -lQtCore -lpthread -lGL
    /home/user/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lGL
    collect2: ld returned 1 exit status
    make[3]: *** [../../lib/libQtWidgets.so.5.0.0] Error 1
    make[3]: /home/user/Qt/qt-everywhere-opensource-src-5.0.0/qtbase/src/widgets' make[2]: *** [sub-widgets-make_first] Error 2 make[2]: /home/user/Qt/qt-everywhere-opensource-src-5.0.0/qtbase/src'
    make[1]: *** [sub-src-make_first] Error 2
    make[1]: `/home/user/Qt/qt-everywhere-opensource-src-5.0.0/qtbase'
    make: *** [module-qtbase-make_first] Ошибка 2

    What is -lGL ???

    Best regards

    1 Reply Last reply
    0
    • A Offline
      A Offline
      AcerExtensa
      wrote on last edited by
      #2

      -lGL is an linker command to link with libGL.so*
      Qt5 is still in development and unstable. You can try to edit Makefile in /home/user/Qt/qt-everywhere-opensource-src-5.0.0/qtbase/src/widgets and erase references to -lGL. No idea if you can build successfully after that.

      God is Real unless explicitly declared as Integer.

      1 Reply Last reply
      0
      • D Offline
        D Offline
        Doborin
        wrote on last edited by
        #3

        Thank you! I erased all references to -lGL in all makefile's. Build is still good :)

        1 Reply Last reply
        0
        • A Offline
          A Offline
          AcerExtensa
          wrote on last edited by
          #4

          If your problem is solved, please add "[SOLVED]" prefix left to the topic subject. Thanks!

          God is Real unless explicitly declared as Integer.

          1 Reply Last reply
          0
          • L Offline
            L Offline
            lilian.moraru
            wrote on last edited by
            #5

            I don't think it's a good solution to delete it from the makefiles.
            Why not just install the libraries?
            @sudo apt-get install libglu1-mesa-dev -y@

            1 Reply Last reply
            0
            • A Offline
              A Offline
              AcerExtensa
              wrote on last edited by
              #6

              Why not to read the posts first?

              1. Topic is solved.
              2. hi didn't want openGL support(see -no-opengl flag in configuration string)
              3. it was an beta version of Qt5 and the configuration was bugy
              4. Are you sure he was doing it on ubuntu/debian derivate?

              But all this list isn't important because your suggestion wouldn't help at all: he was doing cross-compilation.

              God is Real unless explicitly declared as Integer.

              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