Important: Please read the Qt Code of Conduct -

Qt 5.8 installation - MacOS Sierra

  • I'm trying to install Qt and after make install it gives me an error as follow:

    ld: library not found for -lqtpcre_debug
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make[4]: *** [../../lib/QtCore.framework/QtCore_debug] Error 1
    make[3]: *** [debug-install] Error 2
    make[2]: *** [sub-corelib-install_subtargets] Error 2
    make[1]: *** [sub-src-install_subtargets] Error 2

    Can't proceed...

    Could you please help me solve this problem?


  • Lifetime Qt Champion

    @rggarcia said in Qt 5.8 installation - MacOS Sierra:


    Looks like qtpcre_debug was not built. Did you have any errors while compiling? Do you have to build Qt by yourself?