Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Problem of Qt 5.6.0 Cross Compile for Olimex A20 Micro With Debian Jessie?
Forum Updated to NodeBB v4.3 + New Features

Problem of Qt 5.6.0 Cross Compile for Olimex A20 Micro With Debian Jessie?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
12 Posts 3 Posters 5.4k Views
  • 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.
  • jsulmJ Online
    jsulmJ Online
    jsulm
    Lifetime Qt Champion
    wrote on last edited by jsulm
    #2

    Well, the errors you see just tell you that some things will not be available (for example ICU or libproxy). Whether this is an issue depends on your needs. If you do not need any of them then you can just continue with make.

    If you need any of these you have ot install headers and libs.
    C++14 is not available because your compiler does not support it.
    SSE2 is not supported because your target CPU is not an Intel CPU.

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

    1 Reply Last reply
    0
    • Mandar KhireM Offline
      Mandar KhireM Offline
      Mandar Khire
      wrote on last edited by
      #3

      Thanks jsulm,
      I dont know whether how many out of 18 disabled things I do not need in future.
      Means As I can see Mysql or SQLite2 in disabled list.
      If I continue 'make' with errors which I seen when ./configure...command.
      & In future if I want to create QT application which use those Mysql or SQLite2 etc things...then?

      1 Reply Last reply
      0
      • jsulmJ Online
        jsulmJ Online
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #4

        Then you will need to rebuild at least parts of Qt later

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

        1 Reply Last reply
        0
        • Mandar KhireM Offline
          Mandar KhireM Offline
          Mandar Khire
          wrote on last edited by
          #5

          Thanks jsulm,
          I found

          Turn on verbose messaging (-v) to ./configure to see the final report.
          If you believe this message is in error you may use the continue
          switch (-continue) to ./configure to continue.
          

          So I use ' -v -continue' in ./configure command, Then run command:-

          make -d -j4
          

          I got error as follows:-

          Live child 0x00ab0210 (.obj/qlatincodec.o) PID 14536 
          Reaping losing child 0x00ab0210 PID 14536 
          make[2]: *** [.obj/qlatincodec.o] Error 1
          Removing child 0x00ab0210 PID 14536 from chain.
          make[2]: Leaving directory `/usr/local/qt-everywhere-opensource-src-5.6.0/qtbase/src/tools/bootstrap'
          Reaping losing child 0x01b77a70 PID 14531 
          make[1]: *** [sub-bootstrap-make_first] Error 2
          Removing child 0x01b77a70 PID 14531 from chain.
          make[1]: Leaving directory `/usr/local/qt-everywhere-opensource-src-5.6.0/qtbase/src'
          Reaping losing child 0x01b49420 PID 14521 
          make: *** [sub-src-make_first] Error 2
          Removing child 0x01b49420 PID 14521 from chain.
          

          Any help?

          1 Reply Last reply
          0
          • jsulmJ Online
            jsulmJ Online
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #6

            Are there any other messages before?

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

            1 Reply Last reply
            0
            • Mandar KhireM Offline
              Mandar KhireM Offline
              Mandar Khire
              wrote on last edited by
              #7

              Yes there are lots (huge log due to '-d' option in 'make') of

              1. Considering target file
              2. Looking for an implicit rule for
              3. Trying pattern rule with stem
              4. Trying implicit prerequisite
              5. Avoiding implicit rule recursion.
              6. Looking for a rule with intermediate file
              7. Avoiding implicit rule recursion.
              8. No need to remake target

              I found that one error which I miss to put in previous post:-
              g++: error: unrecognized command line option ‘-std=c++14’

              The log as below:-

              make[2]: Entering directory `/usr/local/qt-everywhere-opensource-src-5.6.0/qtbase/src/tools/bootstrap'
              g++ -c -pipe -ffunction-sections -O2 -fPIC -std=c++14 -fno-exceptions -Wall -W -D_REENTRANT -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_LIBINPUT -DQT_BOOTSTRAPPED -DQT_LITE_UNICODE -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS -DQT_NO_DATASTREAM -DQT_NO_LIBRARY -DQT_NO_QOBJECT -DQT_NO_SYSTEMLOCALE -DQT_NO_THREAD -DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -DQT_NO_DEPRECATED -DQT_NO_TRANSLATION -DQT_CRYPTOGRAPHICHASH_ONLY_SHA1 -DQT_NO_CAST_FROM_ASCII -DQT_BUILD_BOOTSTRAP_LIB -DQT_BUILDING_QT -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -I. -I../../3rdparty/zlib -I../../../include -I../../../include/QtCore -I../../../include/QtCore/5.6.0 -I../../../include/QtCore/5.6.0/QtCore -I../../../include/QtXml -I../../../include/QtXml/5.6.0 -I../../../include/QtXml/5.6.0/QtXml -I../../../mkspecs/linux-g++ -o .obj/qlatincodec.o ../../corelib/codecs/qlatincodec.cpp
              Putting child 0x00ab0210 (.obj/qlatincodec.o) PID 14536 on the chain.
                    Commands of `.obj/qlatincodec.o' are being run.
                    Considering target file `.obj/qtextcodec.o'.
                     File `.obj/qtextcodec.o' does not exist.
                      Considering target file `../../corelib/codecs/qtextcodec.cpp'.
                       Looking for an implicit rule for `../../corelib/codecs/qtextcodec.cpp'.
                       Trying pattern rule with stem `qtextcodec.cpp'.
                       Trying implicit prerequisite `../../corelib/codecs/qtextcodec.cpp,v'.
                       Trying pattern rule with stem `qtextcodec.cpp'.
                       Trying implicit prerequisite `../../corelib/codecs/RCS/qtextcodec.cpp,v'.
                       Trying pattern rule with stem `qtextcodec.cpp'.
                       Trying implicit prerequisite `../../corelib/codecs/RCS/qtextcodec.cpp'.
                       Trying pattern rule with stem `qtextcodec.cpp'.
                       Trying implicit prerequisite `../../corelib/codecs/s.qtextcodec.cpp'.
                       Trying pattern rule with stem `qtextcodec.cpp'.
                       Trying implicit prerequisite `../../corelib/codecs/SCCS/s.qtextcodec.cpp'.
                       No implicit rule found for `../../corelib/codecs/qtextcodec.cpp'.
                       Finished prerequisites of target file `../../corelib/codecs/qtextcodec.cpp'.
                      No need to remake target `../../corelib/codecs/qtextcodec.cpp'.
                      Considering target file `../../../mkspecs/linux-g++/qplatformdefs.h'.
                       Looking for an implicit rule for `../../../mkspecs/linux-g++/qplatformdefs.h'.
                       Trying pattern rule with stem `qplatformdefs.h'.
                       Trying implicit prerequisite `../../../mkspecs/linux-g++/qplatformdefs.h,v'.
                       Trying pattern rule with stem `qplatformdefs.h'.
                       Trying implicit prerequisite `../../../mkspecs/linux-g++/RCS/qplatformdefs.h,v'.
                       Trying pattern rule with stem `qplatformdefs.h'.
                       Trying implicit prerequisite `../../../mkspecs/linux-g++/RCS/qplatformdefs.h'.
                       Trying pattern rule with stem `qplatformdefs.h'.
                       Trying implicit prerequisite `../../../mkspecs/linux-g++/s.qplatformdefs.h'.
                       Trying pattern rule with stem `qplatformdefs.h'.
                       Trying implicit prerequisite `../../../mkspecs/linux-g++/SCCS/s.qplatformdefs.h'.
                       No implicit rule found for `../../../mkspecs/linux-g++/qplatformdefs.h'.
                       Finished prerequisites of target file `../../../mkspecs/linux-g++/qplatformdefs.h'.
                      No need to remake target `../../../mkspecs/linux-g++/qplatformdefs.h'.
                      Pruning file `../../../include/QtCore/qglobal.h'.
                      Pruning file `../../corelib/global/qglobal.h'.
                      Pruning file `../../../include/QtCore/qconfig.h'.
                      Pruning file `../../corelib/global/qconfig.h'.
                      Pruning file `../../../include/QtCore/qfeatures.h'.
                      Pruning file `../../corelib/global/qfeatures.h'.
                      Pruning file `../../../include/QtCore/qsystemdetection.h'.
                      Pruning file `../../corelib/global/qsystemdetection.h'.
                      Pruning file `../../../include/QtCore/qprocessordetection.h'.
                      Pruning file `../../corelib/global/qprocessordetection.h'.
                      Pruning file `../../../include/QtCore/qcompilerdetection.h'.
                      Pruning file `../../corelib/global/qcompilerdetection.h'.
                      Pruning file `../../../include/QtCore/qtypeinfo.h'.
                      Pruning file `../../corelib/global/qtypeinfo.h'.
                      Pruning file `../../../include/QtCore/qtypetraits.h'.
              g++: error: unrecognized command line option ‘-std=c++14’
              
              1 Reply Last reply
              0
              • jsulmJ Online
                jsulmJ Online
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #8

                For some reason -std=c++14 compiler option was passed to the compiler. Your GCC version does not support it. Actually in your previous post it was stated that C++14 was disabled. So, I'm wondering why this flag was passed to the compiler. You can check whether it is possible to specify which C++ standard should be used when you call configure (configure -h).

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

                1 Reply Last reply
                0
                • Mandar KhireM Offline
                  Mandar KhireM Offline
                  Mandar Khire
                  wrote on last edited by Mandar Khire
                  #9

                  Thanks jsulm,
                  I found '-std=c++14' in following files

                  1. /qt-everywhere-opensource-src-5.6.0/qtbase/mkspecs/common/g++-base.conf has
                  QMAKE_CXXFLAGS_CXX11    = -std=c++14
                  
                  1. qt-everywhere-opensource-src-5.6.0/qtbase/src/tools/bootstrap/Makefile has
                  CXXFLAGS      = -pipe -ffunction-sections -O2 -fPIC -std=c++14 -fno-exceptions -Wall -W -D_REENTRANT $(DEFINES)
                  

                  Steps taken:-

                  1. After ./configure command I run make command & got error.
                    After it I run make clean.

                  Qustion:-

                  1. Is my ./configure command wrong?
                    My configure command as below:-
                  ./configure -v -continue -opengl es2 -device linux-a20olimex-g++ -device-option CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf- -sysroot /mnt/a20 -opensource -confirm-license -optimized-qmake -release -make libs -prefix /usr/local/qt5a20 -no-pch -nomake tests -no-xcb -eglfs -v -tslib -dbus -icu -pulseaudio -glib -no-cups -qt-harfbuzz -gtkstyle
                  
                  1. Should I edit those two files where I found c++14?

                  2. What about other disable things? Previously I found 18 things as disable but after make clean & might due to -v option in ./configure command I found more things as disabled which as below:-
                    1 to 18 in first question I mentioned.
                    19. PulseAudio
                    20. OpenGL ES 3.0
                    21. OpenGL ES 3.1
                    22. libudev
                    23. xkbcommon
                    24. GBM
                    25. KMS
                    26. Mir client
                    27. EGL-X11
                    28. eglfs-brcm
                    29. eglfs-egldevice
                    30. eglfs-mali
                    31. eglfs-viv
                    32. OpenVG
                    33. OpenVG (lc includes)
                    34. alsa

                  Need Guidance!
                  Thanks,

                  1 Reply Last reply
                  0
                  • jsulmJ Online
                    jsulmJ Online
                    jsulm
                    Lifetime Qt Champion
                    wrote on last edited by
                    #10

                    You can try to replace

                    QMAKE_CXXFLAGS_CXX11    = -std=c++14
                    

                    with

                    QMAKE_CXXFLAGS_CXX11    = -std=c++11
                    

                    in qt-everywhere-opensource-src-5.6.0/qtbase/mkspecs/common/g++-base.conf
                    And then run configure and make again.

                    Regarding other disabled things: it really depends on your needs. Do you need any of them? If not then just build. If you need any of them then you need to make sure you have header files and libraries needed to use them.

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

                    1 Reply Last reply
                    0
                    • Mandar KhireM Offline
                      Mandar KhireM Offline
                      Mandar Khire
                      wrote on last edited by Mandar Khire
                      #11

                      Thanks jsulm,
                      I change g++-base.conf as per instructions.
                      Then I run 'make' command.
                      There are errors while make command run.
                      In /mnt/a20/usr/lib/arm-linux-gnueabihf/

                      1. librt.so
                      2. libdl.so
                      3. libz.so
                      4. libdl.so
                      5. libglib-2.0.so
                      6. libm.so
                        I found in /mnt/a20 ie in Olimex A20 Debian OS has arm-linux-gnueabihf
                        when I use command 'ls -al', those including those 6 so files total 25 has something problem in softlink (it shown in Red color)
                        1. libanl.so -> /lib/arm-linux-gnueabihf/libanl.so.1
                        2. libBrokenLocale.so -> /lib/arm-linux-gnueabihf/libBrokenLocale.so.1
                        3. libcidn.so -> /lib/arm-linux-gnueabihf/libcidn.so.1
                        4. libcrypt.so -> /lib/arm-linux-gnueabihf/libcrypt.so.1
                        5. libcidn.so -> /lib/arm-linux-gnueabihf/libcidn.so.1
                        6. libdl.so -> /lib/arm-linux-gnueabihf/libdl.so.2
                        7. libexpat.so -> /lib/arm-linux-gnueabihf/libexpat.so.1.6.0
                        8. libglib-2.0.so -> /lib/arm-linux-gnueabihf/libglib-2.0.so.0
                        9. libm.so -> /lib/arm-linux-gnueabihf/libm.so.6
                        10. libnsl.so -> /lib/arm-linux-gnueabihf/libnsl.so.1
                        11. libnss_compat.so -> /lib/arm-linux-gnueabihf/libnss_compat.so.2
                        12. libnss_dns.so -> /lib/arm-linux-gnueabihf/libnss_dns.so.2
                        13. libnss_files.so -> /lib/arm-linux-gnueabihf/libnss_files.so.2
                        14. libnss_hesiod.so -> /lib/arm-linux-gnueabihf/libnss_hesiod.so.2
                        15. libnss_nisplus.so -> /lib/arm-linux-gnueabihf/libnss_nisplus.so.2
                        16. libnss_nis.so -> /lib/arm-linux-gnueabihf/libnss_nis.so.2
                        17. libpcre.so -> /lib/arm-linux-gnueabihf/libpcre.so.3
                        18. libpng12.so.0 -> /lib/arm-linux-gnueabihf/libpng12.so.0
                        19. libresolv.so -> /lib/arm-linux-gnueabihf/libresolv.so.2
                        20. librt.so -> /lib/arm-linux-gnueabihf/librt.so.1
                        21. libthread_db.so -> /lib/arm-linux-gnueabihf/libthread_db.so.1
                        22. libudev.so -> /lib/arm-linux-gnueabihf/libudev.so.1.6.4
                        23. libusb-1.0.so -> /lib/arm-linux-gnueabihf/libusb-1.0.so.0.1.0
                        24. libutil.so -> /lib/arm-linux-gnueabihf/libutil.so.1
                        25. libz.so -> /lib/arm-linux-gnueabihf/libz.so.1.2.8

                      I think arm-linux-gnueabihf is not install properly?
                      For reference Error log as below:-

                      /usr/lib/gcc-cross/arm-linux-gnueabihf/4.8/../../../../arm-linux-gnueabihf/bin/ld.gold: error: cannot open /mnt/a20/usr/lib/arm-linux-gnueabihf/librt.so: No such file or directory
                      /usr/lib/gcc-cross/arm-linux-gnueabihf/4.8/../../../../arm-linux-gnueabihf/bin/ld.gold: error: cannot open /mnt/a20/usr/lib/arm-linux-gnueabihf/libdl.so: No such file or directory
                      /usr/lib/gcc-cross/arm-linux-gnueabihf/4.8/../../../../arm-linux-gnueabihf/bin/ld.gold: error: cannot open /mnt/a20/usr/lib/arm-linux-gnueabihf/libz.so: No such file or directory
                      /usr/lib/gcc-cross/arm-linux-gnueabihf/4.8/../../../../arm-linux-gnueabihf/bin/ld.gold: error: cannot open /mnt/a20/usr/lib/arm-linux-gnueabihf/libdl.so: No such file or directory
                      /usr/lib/gcc-cross/arm-linux-gnueabihf/4.8/../../../../arm-linux-gnueabihf/bin/ld.gold: error: cannot open /mnt/a20/usr/lib/arm-linux-gnueabihf/libglib-2.0.so: No such file or directory
                      /usr/lib/gcc-cross/arm-linux-gnueabihf/4.8/../../../../arm-linux-gnueabihf/bin/ld.gold: error: cannot open /mnt/a20/usr/lib/arm-linux-gnueabihf/librt.so: No such file or directory
                      /usr/lib/gcc-cross/arm-linux-gnueabihf/4.8/../../../../arm-linux-gnueabihf/bin/ld.gold: error: cannot open /mnt/a20/usr/lib/arm-linux-gnueabihf/libm.so: No such file or directory
                      .obj/qlibrary_unix.o:qlibrary_unix.cpp:function qdlerror(): error: undefined reference to 'dlerror'
                      .obj/qlibrary_unix.o:qlibrary_unix.cpp:function QLibraryPrivate::unload_sys(): error: undefined reference to 'dlclose'
                      .obj/qlibrary_unix.o:qlibrary_unix.cpp:function QLibraryPrivate::resolve_sys(char const*): error: undefined reference to 'dlsym'
                      .obj/qlibrary_unix.o:qlibrary_unix.cpp:function QLibraryPrivate::load_sys(): error: undefined reference to 'dlopen'
                      .obj/qlibrary_unix.o:qlibrary_unix.cpp:function qt_linux_find_symbol_sys(char const*): error: undefined reference to 'dlsym'
                      .obj/qbytearray.o:qbytearray.cpp:function qUncompress(unsigned char const*, int): error: undefined reference to 'uncompress'
                      .obj/qbytearray.o:qbytearray.cpp:function qCompress(unsigned char const*, int, int): error: undefined reference to 'compress2'
                      .obj/qdatetime.o:qdatetime.cpp:function fromIsoTimeString(QStringRef const&, Qt::DateFormat, bool*): error: undefined reference to 'pow'
                      .obj/qdatetime.o:qdatetime.cpp:function fromIsoTimeString(QStringRef const&, Qt::DateFormat, bool*): error: undefined reference to 'floorf'
                      .obj/qdatetime.o:qdatetime.cpp:function fromIsoTimeString(QStringRef const&, Qt::DateFormat, bool*): error: undefined reference to 'pow'
                      .obj/qeasingcurve.o:qeasingcurve.cpp:function easeCosineCurve(double): error: undefined reference to 'cos'
                      .obj/qeasingcurve.o:qeasingcurve.cpp:function easeInOutSine(double): error: undefined reference to 'cos'
                      .obj/qeasingcurve.o:qeasingcurve.cpp:function easeSineCurve(double): error: undefined reference to 'sin'
                      .obj/qeasingcurve.o:qeasingcurve.cpp:function easeOutCurve(double): error: undefined reference to 'sin'
                      .obj/qeasingcurve.o:qeasingcurve.cpp:function easeInOutCirc(double): error: undefined reference to 'sqrt'
                      .obj/qeasingcurve.o:qeasingcurve.cpp:function easeInOutCirc(double): error: undefined reference to 'sqrt'
                      .obj/qeasingcurve.o:qeasingcurve.cpp:function easeOutCirc(double): error: undefined reference to 'sqrt'
                      .obj/qeasingcurve.o:qeasingcurve.cpp:function easeInCirc(double): error: undefined reference to 'sqrt'
                      .obj/qeasingcurve.o:qeasingcurve.cpp:function easeOutInSine(double): error: undefined reference to 'cos'
                      .obj/qeasingcurve.o:qeasingcurve.cpp:function easeOutInSine(double): error: undefined reference to 'sin'
                      .obj/qeasingcurve.o:qeasingcurve.cpp:function easeInOutExpo(double): error: undefined reference to 'pow'
                      .obj/qeasingcurve.o:qeasingcurve.cpp:function easeInOutExpo(double): error: undefined reference to 'pow'
                      .obj/qeasingcurve.o:qeasingcurve.cpp:function easeInSine(double): error: undefined reference to 'cos'
                      .obj/qeasingcurve.o:qeasingcurve.cpp:function easeInCurve(double): error: undefined reference to 'sin'
                      .obj/qeasingcurve.o:qeasingcurve.cpp:function ElasticEase::value(double): error: undefined reference to 'asin'
                      .obj/qeasingcurve.o:qeasingcurve.cpp:function ElasticEase::value(double): error: undefined reference to 'asin'
                      .obj/qeasingcurve.o:qeasingcurve.cpp:function ElasticEase::value(double): error: undefined reference to 'asin'
                      .obj/qeasingcurve.o:qeasingcurve.cpp:function ElasticEase::value(double): error: undefined reference to 'asin'
                      .obj/qline.o:qline.cpp:function QLineF::angle() const: error: undefined reference to 'atan2'
                      .obj/qline.o:qline.cpp:function QLineF::setAngle(double): error: undefined reference to 'sincos'
                      .obj/qline.o:qline.cpp:function QLineF::fromPolar(double, double): error: undefined reference to 'sincos'
                      .obj/qline.o:qline.cpp:function QLineF::angle(QLineF const&) const: error: undefined reference to 'acos'
                      .obj/qlocale_tools.o:qlocale_tools.cpp:function qdtoa(double, int, int, int*, int*, char**, char**): error: undefined reference to 'feholdexcept'
                      .obj/qlocale_tools.o:qlocale_tools.cpp:function qdtoa(double, int, int, int*, int*, char**, char**): error: undefined reference to 'fesetenv'
                      .obj/qrect.o:qrect.cpp:function QRectF::toAlignedRect() const: error: undefined reference to 'floor'
                      .obj/qrect.o:qrect.cpp:function QRectF::toAlignedRect() const: error: undefined reference to 'ceil'
                      .obj/qrect.o:qrect.cpp:function QRectF::toAlignedRect() const: error: undefined reference to 'floor'
                      .obj/qrect.o:qrect.cpp:function QRectF::toAlignedRect() const: error: undefined reference to 'ceil'
                      .obj/qtimeline.o:qtimeline.cpp:function QTimeLine::frameForTime(int) const: error: undefined reference to 'ceil'
                      .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>): error: undefined reference to 'g_main_context_iteration'
                      .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>): error: undefined reference to 'g_main_context_iteration'
                      .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlib::hasPendingEvents(): error: undefined reference to 'g_main_context_pending'
                      .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlib::unregisterSocketNotifier(QSocketNotifier*): error: undefined reference to 'g_source_remove_poll'
                      .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlib::unregisterSocketNotifier(QSocketNotifier*): error: undefined reference to 'g_source_remove_poll'
                      .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlib::~QEventDispatcherGlib(): error: undefined reference to 'g_source_destroy'
                      .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlib::~QEventDispatcherGlib(): error: undefined reference to 'g_source_unref'
                      .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlib::~QEventDispatcherGlib(): error: undefined reference to 'g_source_destroy'
                      .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlib::~QEventDispatcherGlib(): error: undefined reference to 'g_source_unref'
                      .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlib::~QEventDispatcherGlib(): error: undefined reference to 'g_source_remove_poll'
                      .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlib::~QEventDispatcherGlib(): error: undefined reference to 'g_source_destroy'
                      .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlib::~QEventDispatcherGlib(): error: undefined reference to 'g_source_unref'
                      .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlib::~QEventDispatcherGlib(): error: undefined reference to 'g_source_destroy'
                      .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlib::~QEventDispatcherGlib(): error: undefined reference to 'g_source_unref'
                      .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlib::~QEventDispatcherGlib(): error: undefined reference to 'g_main_context_pop_thread_default'
                      .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlib::~QEventDispatcherGlib(): error: undefined reference to 'g_main_context_unref'
                      .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*): error: undefined reference to 'g_main_context_ref'
                      .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*): error: undefined reference to 'g_main_context_push_thread_default'
                      .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*): error: undefined reference to 'g_source_new'
                      .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*): error: undefined reference to 'g_source_set_can_recurse'
                      .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*): error: undefined reference to 'g_source_attach'
                      .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*): error: undefined reference to 'g_source_new'
                      .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*): error: undefined reference to 'g_source_set_can_recurse'
                      .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*): error: undefined reference to 'g_source_attach'
                      .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*): error: undefined reference to 'g_source_new'
                      .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*): error: undefined reference to 'g_source_set_can_recurse'
                      .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*): error: undefined reference to 'g_source_attach'
                      .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*): error: undefined reference to 'g_source_new'
                      .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*): error: undefined reference to 'g_source_set_can_recurse'
                      .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*): error: undefined reference to 'g_source_set_priority'
                      .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*): error: undefined reference to 'g_source_attach'
                      .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*): error: undefined reference to 'g_main_context_new'
                      .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*): error: undefined reference to 'g_main_context_default'
                      .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*): error: undefined reference to 'g_main_context_ref'
                      .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlib::registerSocketNotifier(QSocketNotifier*): error: undefined reference to 'g_source_add_poll'
                      .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlib::wakeUp(): error: undefined reference to 'g_main_context_wakeup'
                      collect2: error: ld returned 1 exit status
                      make[2]: *** [../../lib/libQt5Core.so.5.6.0] Error 1
                      
                      1 Reply Last reply
                      0
                      • E Offline
                        E Offline
                        embedded_qt_newbie
                        wrote on last edited by
                        #12

                        Hello everyone,

                        Here is the same problem.
                        Anyone a solution for that?

                        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