Important: Please read the Qt Code of Conduct -

Qt-Eclipse integration problem

  • Hello,

    I have installed on Fedora 10 and Linux (x86 64-bit) and gcc 4.6.1 Qt 4 All editions and wanted to create a test program in Eclipse, but get the following errors: How can I solve this problem?

    /home/abcd/QtSDK/Desktop/Qt/4.8.0/gcc/lib/ undefined reference to g_main_context_push_thread_default' /home/abcd/QtSDK/Desktop/Qt/4.8.0/gcc/lib/ undefined reference tog_main_context_pop_thread_default'
    /home/abcd/QtSDK/Desktop/Qt/4.8.0/gcc/lib/ undefined reference to `__longjmp_chk@GLIBC_2.11'
    collect2: ld gab 1 als Ende-Status zurück

    Eclipse Version: Eclipse IDE for C/C++ Developers Helios Service Release 2
    BIN Path: /home/abcd/QtSDK/Desktop/Qt/4.8.0/gcc/bin
    Include Path: /home/abcd/QtSDK/Desktop/Qt/4.8.0/gcc/include
    OS Fedora 10: Linux x86_64

  • I also facing the same issue.
    Could anyone tell me how to resolve this issue?

  • Moderators

    Just looking at the error messages I guess that your install glibc is incompatible with the Qt library binaries.

    Try to upgrade glibc (which is most likely a distribution upgrade) or build Qt from sources.

Log in to reply