Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. GLvoid does not name a type
Qt 6.11 is out! See what's new in the release blog

GLvoid does not name a type

Scheduled Pinned Locked Moved General and Desktop
26 Posts 3 Posters 15.7k 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.
  • T The most recent future

    @jsulm
    yes. version 5.2.0
    but , the error ................ can you help me??

    jsulmJ Online
    jsulmJ Online
    jsulm
    Lifetime Qt Champion
    wrote on last edited by
    #9

    @The-most-recent-future Do you build for desktop or for a device?
    Also as @SGaist said you should really not develop as root - this is a very very bad idea.

    https://forum.qt.io/topic/113070/qt-code-of-conduct

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #10

      What exact options did you pass to configure before building Qt ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      T 2 Replies Last reply
      0
      • SGaistS SGaist

        What exact options did you pass to configure before building Qt ?

        T Offline
        T Offline
        The most recent future
        wrote on last edited by
        #11

        @SGaist
        ./configure
        -release
        -opensource
        -qt-libpng
        -qt-zlib
        -qt-libjpeg
        -glib
        -plugin-sql-sqlite
        -qt-sql-sqlite
        -make libs
        -no-cups
        -no-nis
        -no-iconv
        -no-dbus
        -no-opengl
        -no-xcb
        -no-accessibility
        -no-javascript-jit
        -silent
        -arch arm
        -xplatform linux-arm-gnueabi-g++
        -linuxfb
        -nomake tools
        -nomake examples
        -nomake tests
        -qt-freetype
        -no-glib
        -strip
        -plugindir /root/downSource/qt-everywhere-opensource-src-5.2.0/plugins
        -confirm-license "$@" -verbose

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #12

          There: -no-opengl. I remember there where some problem at some point building with -no-opengl, it should have been fixed in between but I don't remember if it was prior to or after Qt 5.2.0

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          T 1 Reply Last reply
          0
          • SGaistS SGaist

            What exact options did you pass to configure before building Qt ?

            T Offline
            T Offline
            The most recent future
            wrote on last edited by
            #13

            @SGaist
            Whether or not to add
            -no-egl
            -no-opengl

            these error will be show !

            @SGaist 大神,就我!!

            1 Reply Last reply
            0
            • SGaistS SGaist

              There: -no-opengl. I remember there where some problem at some point building with -no-opengl, it should have been fixed in between but I don't remember if it was prior to or after Qt 5.2.0

              T Offline
              T Offline
              The most recent future
              wrote on last edited by
              #14

              @SGaist
              这个问题困扰了我好几天了,大神,你救救我吧!我都要哭了....

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #15

                When changing the configure options, are you doing from a clean source ? That's the first thing to do before calling configure again.

                Or better: do out of source builds, so if something goes wrong, you juste nuke the build folder and start new.

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                T 1 Reply Last reply
                0
                • SGaistS SGaist

                  When changing the configure options, are you doing from a clean source ? That's the first thing to do before calling configure again.

                  Or better: do out of source builds, so if something goes wrong, you juste nuke the build folder and start new.

                  T Offline
                  T Offline
                  The most recent future
                  wrote on last edited by
                  #16

                  @SGaist
                  yes , make clean && make distclean
                  when i change the configure , i will be make clean and make distclean,
                  but, the error will be show .

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #17

                    What does the configuration summary show ?

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    T 6 Replies Last reply
                    0
                    • SGaistS SGaist

                      What does the configuration summary show ?

                      T Offline
                      T Offline
                      The most recent future
                      wrote on last edited by
                      #18

                      @SGaist
                      1 : make and make install

                                     Looks like a success
                                     data size : 108 M
                                     but, why the example files  is not be generated ???
                      
                      1 Reply Last reply
                      0
                      • SGaistS SGaist

                        What does the configuration summary show ?

                        T Offline
                        T Offline
                        The most recent future
                        wrote on last edited by
                        #19

                        @SGaist

                        make -j3

                        compiling .moc/moc_abstractliveedittool.cpp
                        compiling .moc/moc_liveselectiontool.cpp
                        compiling .moc/moc_boundingrecthighlighter.cpp
                        compiling .moc/moc_zoomtool.cpp
                        compiling .moc/moc_colorpickertool.cpp
                        compiling .moc/moc_abstracttool.cpp
                        rm -f libqmldbg_inspector.so
                        linking ../../../../plugins/qml1tooling/libqmldbg_inspector.so
                        mv -f libqmldbg_inspector.so ../../../../plugins/qml1tooling/
                        make[5]: Leaving directory /home/cc/qt-everywhere-opensource-src-5.2.0/qtquick1/src/plugins/qmltooling/qmldbg_inspector' make[4]: Leaving directory /home/cc/qt-everywhere-opensource-src-5.2.0/qtquick1/src/plugins/qmltooling'
                        make[3]: Leaving directory /home/cc/qt-everywhere-opensource-src-5.2.0/qtquick1/src/plugins' make[2]: Leaving directory /home/cc/qt-everywhere-opensource-src-5.2.0/qtquick1/src'
                        cd tools/ && ( test -e Makefile || /home/cc/qt-everywhere-opensource-src-5.2.0/qtbase/bin/qmake /home/cc/qt-everywhere-opensource-src-5.2.0/qtquick1/tools/tools.pro -o Makefile ) && make -f Makefile
                        make[2]: Entering directory /home/cc/qt-everywhere-opensource-src-5.2.0/qtquick1/tools' make[2]: Nothing to be done for first'.
                        make[2]: Leaving directory /home/cc/qt-everywhere-opensource-src-5.2.0/qtquick1/tools' make[1]: Leaving directory /home/cc/qt-everywhere-opensource-src-5.2.0/qtquick1'
                        cc@ubuntu:~/qt-everywhere-opensource-src-5.2.0$

                        1 Reply Last reply
                        0
                        • SGaistS SGaist

                          What does the configuration summary show ?

                          T Offline
                          T Offline
                          The most recent future
                          wrote on last edited by
                          #20

                          @SGaist

                          No ”example“ folder

                          [root@cv_soc /usr/local/Qt-5.2.0]# ls
                          bin/ imports/ lib/ qml/
                          doc/ include/ mkspecs/ translations/
                          [root@cv_soc /usr/local/Qt-5.2.0]#

                          1 Reply Last reply
                          0
                          • SGaistS SGaist

                            What does the configuration summary show ?

                            T Offline
                            T Offline
                            The most recent future
                            wrote on last edited by
                            #21

                            @SGaist
                            int .configure
                            -qt-xcb

                             what packages should be install ??
                            
                            1 Reply Last reply
                            0
                            • SGaistS SGaist

                              What does the configuration summary show ?

                              T Offline
                              T Offline
                              The most recent future
                              wrote on last edited by
                              #22

                              @SGaist
                              Please let me know how to resolve the error.

                              1 Reply Last reply
                              0
                              • SGaistS SGaist

                                What does the configuration summary show ?

                                T Offline
                                T Offline
                                The most recent future
                                wrote on last edited by
                                #23

                                @SGaist
                                make: *** [xlib.o] Error 1
                                XLib disabled.
                                xcb auto-detection... ()
                                /usr/local/arm/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/bin/arm-linux-gnueabihf-g++ -c -pipe -O2 -Wall -W -fPIE -I../../../mkspecs/linux-arm-gnueabi-g++ -I. -o xcb.o xcb.cpp
                                xcb.cpp:42:21: fatal error: xcb/xcb.h: No such file or directory
                                #include <xcb/xcb.h>
                                ^
                                compilation terminated.
                                make: *** [xcb.o] Error 1
                                xcb disabled.
                                The test for linking against libxcb failed!
                                You might need to install dependency p

                                1 Reply Last reply
                                0
                                • SGaistS Offline
                                  SGaistS Offline
                                  SGaist
                                  Lifetime Qt Champion
                                  wrote on last edited by
                                  #24

                                  Seems like this question is being answered here.

                                  Interested in AI ? www.idiap.ch
                                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                  T 1 Reply Last reply
                                  0
                                  • SGaistS SGaist

                                    Seems like this question is being answered here.

                                    T Offline
                                    T Offline
                                    The most recent future
                                    wrote on last edited by
                                    #25

                                    @SGaist @jsulm
                                    /usr/local/qt/qt-everywhere-opensource-src-5.3.2/qtbase/configure: 3181: /usr/local/qt/qt-everywhere-opensource-src-5.3.2/qtbase/configure: arm-linux-gnueabihf-gnueabi-g++: not found
                                    Creating qmake...
                                    make: Nothing to be done for 'first'.
                                    Running configuration tests...
                                    Warning: Disabling pkg-config since PKG_CONFIG_LIBDIR is not set.
                                    Warning: Disabling pkg-config since PKG_CONFIG_SYSROOT_DIR is not set.

                                    Could not determine the target architecture!
                                    Turn on verbose messaging (-v) to see the final report.
                                    Linux Framebuffer support cannot be enabled due to functionality tests!
                                    Turn on verbose messaging (-v) to /usr/local/qt/qt-everywhere-opensource-src-5.3.2/qtbase/configure to see the final report.
                                    If you believe this message is in error you may use the continue
                                    switch (-continue) to /usr/local/qt/qt-everywhere-opensource-src-5.3.2/qtbase/configure to continue.
                                    ./configInstall.sh: line 8: /root: Is a directory

                                    how to do ? thanks.

                                    1 Reply Last reply
                                    0
                                    • SGaistS Offline
                                      SGaistS Offline
                                      SGaist
                                      Lifetime Qt Champion
                                      wrote on last edited by
                                      #26

                                      As silly as it may sound: give configure the correct options for it to find your cross-compiler.

                                      Interested in AI ? www.idiap.ch
                                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                      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